diff --git a/configure.py b/configure.py index 77ad79c..835a64f 100755 --- a/configure.py +++ b/configure.py @@ -43,6 +43,7 @@ class Projects(): project = Project(index, commit_id_data['repo'], project_dir, args, is_user_project=False) project.commit_id = commit_id_data['commit'] + project.sort_id = commit_id_data['sort_id'] # projects should now be installed, so load all the data from the yaml files # fill projects will load from the fill project's directory @@ -60,6 +61,8 @@ class Projects(): self.projects.append(project) + self.projects.sort(key=lambda x: x.sort_id) + all_macro_instances = [project.get_macro_instance() for project in self.projects] self.assert_unique(all_macro_instances)