sorting by name (date) is done