aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sos/plugins/rpm.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/sos/plugins/rpm.py b/sos/plugins/rpm.py
index f5563618..a04cd30d 100644
--- a/sos/plugins/rpm.py
+++ b/sos/plugins/rpm.py
@@ -45,7 +45,7 @@ class Rpm(Plugin, RedHatPlugin):
query_fmt = query_fmt + '%{INSTALLTIME:date}\n"'
filter_cmd = 'awk -F "~~" ' \
- '"{printf \\"%-59s %s\\n\\",\$1,\$2}"|sort -f'
+ '"{printf \\"%-59s %s\\n\\",\$1,\$2}"|sort -V'
add_rpm_cmd(query_fmt, filter_cmd, "installed-rpms", None)