From 3d8abf20897dc5adf891d5b36f29e24869e7ad0c Mon Sep 17 00:00:00 2001 From: Matthew Burket Date: Mon, 1 Jul 2024 16:27:43 -0500 Subject: [PATCH] Sorting subkeys fixing also needs to use humnan sorting --- utils/fix_rules.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils/fix_rules.py b/utils/fix_rules.py index e1555e136a0..a09f782b770 100755 --- a/utils/fix_rules.py +++ b/utils/fix_rules.py @@ -476,7 +476,7 @@ def fix_int_reference(file_contents, yaml_contents): def sort_rule_subkeys(file_contents, yaml_contents): - return ssg.rule_yaml.sort_section_keys(None, file_contents, TO_SORT) + return ssg.rule_yaml.sort_section_keys(None, file_contents, TO_SORT, sort_func=_human_sort) def _fixed_file_contents(path, file_contents, product_yaml, func):