enabled sorting by date