I have constructed the gantt chart . check whether the sequence is correct or not.
P2 ->(0-2)
P3->(2-3)
P1->(3-6)
P2->(6-7)
P4->(7-9)
P3->(9-11)
P4->(11-12)
P1->(12-14)
At time =7 units,P3 and P4 are available in the ready queue. Recent AT of P3=6 and arrival time of P4=5. Choose P4 since burst time of P3= burst time of P4.
At time =9 units, similar case arises between P1 and P3.