Changed sorting method

Used much simpler implementation that gets the job done for all active
requirements.

Slightly less friendly about keeping elaborations and deleted reqs in
their place, but they still have the same parent.