reordered history lines to have date first