Split total ordering code into puget.order ns.
Improve test coverage.