That seems to be a bigger problem than it seems. The From field is actually partially sorted in code, so even with the msgs_pos problem being fixed, the next/prev links will not be entirely correct. I'll have to get back to you on a proper fix.
Adrian
Adrian