From d4acf171cc3aa47bd190684991fbf31e1ebad3d2 Mon Sep 17 00:00:00 2001 From: Aleksandr Statciuk Date: Thu, 12 Aug 2021 11:57:54 +0300 Subject: [PATCH] Update sort.js --- scripts/sort.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/sort.js b/scripts/sort.js index 974f2592c..17560b848 100644 --- a/scripts/sort.js +++ b/scripts/sort.js @@ -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')