Add comparators, sort by name and sort by date