try to sort by days and then by submit time