Initial commit: sort dependencies during test.