sorting was backwards on removing old messages