Sorts source modules in unit tests, closes #188