Use uksort instead of uasort @craigh.