From be97f016efe91a647903435ad46cd15fa907c375 Mon Sep 17 00:00:00 2001 From: malomehi <1456960+malomehi@users.noreply.github.com> Date: Sun, 2 Jun 2024 13:45:16 +0200 Subject: [PATCH] Sort channels by alphabetical order --- acestream_search/channels/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/acestream_search/channels/__init__.py b/acestream_search/channels/__init__.py index 50769f1..d1db1a5 100644 --- a/acestream_search/channels/__init__.py +++ b/acestream_search/channels/__init__.py @@ -47,4 +47,4 @@ def get_channels(url=CHANNELS_URL, include_android=False): name='a', attrs={'href': pattern}, recursive=False ) ] - return channels + return sorted(channels, key=lambda x: x['name'])