mirror of
https://github.com/iptv-org/iptv
synced 2026-10-23 19:46:40 -04:00
Created sortBy() function
This commit is contained in:
1 parent
c630362d3f
commit
4f7f243b6d
3 files changed
+26
-62
No files matched your search
+1
-1
@@ -147,7 +147,7 @@ async function main() {
|
||||
if(verbose) {
|
||||
console.log(`Sorting channels...`)
|
||||
}
|
||||
channels = helper.sortByTitleAndUrl(channels)
|
||||
channels = helper.sortBy(channels, ['title', 'url'])
|
||||
|
||||
if(!debug) {
|
||||
console.log(`Updating '${country.url}'...`)
|
||||
|
||||
Reference in new issue
Block a user