Order tasks by ordinal