Powered up sort: if have start time then sort based on start time
if not sort by deadline