aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/msglist.go
diff options
context:
space:
mode:
Diffstat (limited to 'widgets/msglist.go')
-rw-r--r--widgets/msglist.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/widgets/msglist.go b/widgets/msglist.go
index a316cf57..39d57e06 100644
--- a/widgets/msglist.go
+++ b/widgets/msglist.go
@@ -96,7 +96,7 @@ func (ml *MessageList) Draw(ctx *ui.Context) {
)
uids := store.Uids()
sorter := msgSorter{uids: uids, store: store}
- sort.Sort(&sorter)
+ sort.Stable(&sorter)
for i := len(uids) - 1 - ml.scroll; i >= 0; i-- {
uid := uids[i]