diff options
Diffstat (limited to 'python')
-rw-r--r-- | python/vyos/system/grub.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/python/vyos/system/grub.py b/python/vyos/system/grub.py index 4ebf229a0..2692aaea1 100644 --- a/python/vyos/system/grub.py +++ b/python/vyos/system/grub.py @@ -138,7 +138,7 @@ def version_list(root_dir: str = '') -> list[str]: versions_list: list[str] = [] for file in versions_files: versions_list.append(file.stem) - versions_list.sort() + versions_list.sort(reverse=True) return versions_list |