Test sorting by date
Fix orders tests
Fix notit test