Sort history reverse chronologically