Hi all, ive seen several requests on the mailinglist and forums concerning sorting by internaldate. Looking through the code there seems to be pieces of code to facilitate this, but either I cant find the way to actually set this, or it's not finished. For many imap servers a SORT (ARRIVE) is orders of magnitude faster as all you need to do is stat() the files. For SORT (DATE) you need to open every single email (which can be tens of thousands), find the Date header, then sort all of them. And all so you can find the 50 messages roundcube wants to show.
I have a lot of experience with the customer side of this setting as we have this set in our current webmail solution (squirrelmail). In practice there is a percentage of customers that dont like sorting by arrival date. They just dont understand why an email with an obvious date thats older is sorted above an other email. So we have this configurable, with a default of arrival date. That way you can accommodate people that dont like this, while at the same time benefit from the bulk of people that dont care. It should be trivial to add a user-configurable option in roundcube to allow sorting by arrival date. Id be more than happy to make a patch. Would this be something of use to RC? Cor _______________________________________________ List info: http://lists.roundcube.net/dev/
