summaryrefslogtreecommitdiff
path: root/searx/engines/annas_archive.py
diff options
context:
space:
mode:
Diffstat (limited to 'searx/engines/annas_archive.py')
-rw-r--r--searx/engines/annas_archive.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/searx/engines/annas_archive.py b/searx/engines/annas_archive.py
index a290dd06e..bc74b3c86 100644
--- a/searx/engines/annas_archive.py
+++ b/searx/engines/annas_archive.py
@@ -184,3 +184,8 @@ def fetch_traits(engine_traits: EngineTraits):
for x in eval_xpath_list(dom, "//form//select[@name='sort']//option"):
engine_traits.custom['sort'].append(x.get("value"))
+
+ # for better diff; sort the persistence of these traits
+ engine_traits.custom['content'].sort()
+ engine_traits.custom['ext'].sort()
+ engine_traits.custom['sort'].sort()