Implemented makeOrderedLeafList()