diff --git a/M3U8/fetch.py b/M3U8/fetch.py index 5bd5d67..d9f2a84 100644 --- a/M3U8/fetch.py +++ b/M3U8/fetch.py @@ -46,7 +46,7 @@ def main() -> None: lines = [] - for event, url in additions.items(): + for event, url in sorted(additions.items()): chnl_number += 1 lines.append( f'#EXTINF:-1 tvg-chno="{chnl_number}"'