Sort processes before scheduling (FCFS only ATM)

For FCFS, sort processes by earlier arrival time before scheduling.

Similar sorting code will be applied to the other scheduling modes as
they're completed.