I use underscore to sort the data, there is an array of data that must be sorted, but it is necessary to sort and not alphabetically and digit, but in a certain order, set in advance, now I use this sorting
sortedData = _.sortBy(sortedData, (item)=>{ return [item.lang, item.channel, item.status]; sorts by language and then, within this language, sorts by channel, but by channel its sorting, how can I add my own implementation of sorting there, there are only four channel variants.