Ord
This PR improves and extends the api around `Ord` and `Ordering`. These changes are split off from #8210.