We sort the models by srcRef path.