Step 1: Generally, IE increases across a period (Mg to P).
Step 2: Mg ($3s^2$) has a stable fully filled subshell, so its IE is higher than Al ($3s^2 3p^1$).
Step 3: P ($3s^2 3p^3$) has a stable half-filled subshell, so its IE is higher than S ($3s^2 3p^4$).
Step 4: Therefore, the order is Al<Mg<Si<S<P.