Sort the history details with the most recent first