mirror of
https://github.com/iptv-org/iptv.git
synced 2025-05-13 10:30:03 -04:00
Created sortBy() function
This commit is contained in:
parent
cb2fbc6962
commit
1e3b28384d
3 changed files with 26 additions and 62 deletions
|
@ -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}'...`)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue