Fix sorting bug
Change created_on from date to datetime