new history feature and sorting by date now