Manuel Lemos - 2014-07-15 11:57:36 - In reply to message 1 from Marcin Kozaczuk
The class retrieves the messages by the order they are returned by the server.
What you can do is to retrieve the messages with headers into an array. Then traverse the array to get the Date: header of each message and put the dates into another array. Then you sort the array by the date values, so you can list them original messages by the order you want.