test for sorting
test for sorting by date