The 'ordering' module with tests is extracted from 'tools' module.
Fixed links in documentation.