Merged FCFS and Proirity.
Working SJF