Merge pull request #4053 from iptv-org/update-sort-script
Update sort.js
This commit is contained in:
commit
ae5fbce25e
|
@ -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')
|
||||
|
|
Loading…
Reference in New Issue