Higher stability of allyl and benzyl carbocations is due to dispersal of positive charge by resonance
whereas in alkyl carbocations dispersal of positive charge on different hydrogen atoms is due to inductive effect. Hence the correct order of stability will be