diff options
Diffstat (limited to 'python/qpid/disp.py')
-rw-r--r-- | python/qpid/disp.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/python/qpid/disp.py b/python/qpid/disp.py index 1b315c9d98..c29ea009de 100644 --- a/python/qpid/disp.py +++ b/python/qpid/disp.py @@ -221,7 +221,9 @@ class Sorter: list = [] for row in rows: list.append(Sortable(row, col)) - list.sort(reverse=not inc) + list.sort() + if not inc: + list.reverse() count = 0 self.sorted = [] for row in list: |