According to general organic chemistry the order of stability is as follows:
aromaticity > resonance > hyperconjugation > inductive effect
Since primary allylic carbocation shows resonance as well as hyperconjugation, moreover resonance is greater than any other effect then why is primary allylic carbocation less stable than tertiary carbocation.