Monster recall asks "Recall details? (k/p/y/n)", offering three different sequences in which to view the set of matching creatures. It's not clear to me that the 'y' ordering is ever useful -- it's the order in which the monsters are defined in monster.txt. Historically this may have been the default, but nowadays there are quite a few "out of order" creatures. For example, the Silver mouse is defined after Morgoth, and Kobold shamans (a depth 3 monster!) are currently monster 604. In earlier days, monster.txt was in strict depth order.
Reordering monster.txt is tedious and (worse) is a savefile breaker. Is there any real reason to offer datafile ordering of recall? I suggest eliminating the unsorted output and collapsing the 'p' behavior to 'y'.