Array ( [university] => 57 [iit] => 57 [jee] => 44 [application] => 28 [study] => 26 [college] => 23 [exam] => 19 [c
If you need the first 5 elements
before the array_slice(). Insert a letter 'r' to the second place for reverse order: krsort(), arsort().