core: add a reverse method to Ordering.

This flips the comparison and is designed to be used when sorting etc.
Yep, I already noticed & fixed, but I didn't want to wreck the diff comments just yet.