On 19.12.2011 08:16, Roland Liebl wrote:
Are you saying that messages are displayed on the list in different order than SORT reponse here?
No, I see it is a bug in hMailserver (http://www.hmailserver.com/forum/viewtopic.php?f=7&t=21744).
But what I tried to say is, that INTERNALDATE is returned ok. So you could sort on INTERNALDATE after FETCH and then display the stuff. It looks like don't have problems with wrong UID order (Thunderbird at least doesn't have this issue).
Then Thunderbird doesn't use SORT for sorting. Roundcube trusts in server responses. To re-sort messages we would need to fetch Date/INTERNAL date value for all messages in a folder which wouldn't be good for performance. This is exactly what we do when SORT is not supported by the server.