Sort error results by date