src/extensions/default/InlineColorEditor/InlineColorEditor.js
function _colorSort(a, b) {
        if (a.count === b.count) {
            return 0;
        }
        if (a.count > b.count) {
            return -1;
        }
        if (a.count < b.count) {
            return 1;
        }
    }
function _colorSort(a, b) {
        if (a.count === b.count) {
            return 0;
        }
        if (a.count > b.count) {
            return -1;
        }
        if (a.count < b.count) {
            return 1;
        }
    }
function _colorSort ( a , b ) { if ( a . count === b . count ) { return 0 ; } if ( a . count > b . count ) { return - 1 ; } if ( a . count < b . count ) { return 1 ; } }
Comparator to sort by which colors are used the most
Comparator to sort by which colors are used the most