Enhance handling of --nodeps

Missing post-dependencies should not trigger errors under --nodeps.
Test the sorting of components.

Ensure that errors are handled, and --nodeps is honored correctly.