In haveSubclassOf, return a sorted array.