k9mail/k-9 — pull request #242 by maniac103 (2013-02-01 08:55:46+00:00)
Title: Fix sorting of threaded messages.

I do not even try to pretend I fully understand the threaded query, but what I understand is that we select the columns from the grouped query (and u is the ungrouped query) so I think we should sort by the grouped column as well.

Fixes sorting of the threaded message list for me.