Adding in a test for date sorting.