arsort > krsort in last function. i think i'm finally awake now