fix sort order with inherited classes
fix sort order with inherited classes

Apparently ->isa() does not imply ->does() as this block assumed.
Also, the sort order was backwards, putting the child classes' elements
before their parents.  There should be a better solution for this.

catalyst/PRANG,catalyst/PRANG