Update sort.js

This commit is contained in:
Aleksandr Statciuk 2021-08-12 11:57:54 +03:00
parent 835e568929
commit d4acf171cc
1 changed files with 1 additions and 1 deletions

View File

@ -21,7 +21,7 @@ async function main() {
async function sortChannels(playlist) {
const channels = [...playlist.channels]
utils.sortBy(channels, ['name', 'url'])
utils.sortBy(channels, ['name', 'status', 'url'])
if (JSON.stringify(channels) !== JSON.stringify(playlist.channels)) {
log.print('updated')