Sorting assignments table
Change assignments datetimes to dates