summaryrefslogtreecommitdiff
path: root/libs/ardour/template_utils.cc
diff options
context:
space:
mode:
authorRobin Gareus <robin@gareus.org>2018-10-04 03:35:53 +0200
committerRobin Gareus <robin@gareus.org>2018-10-04 03:36:14 +0200
commit59b789d2bbd14012755215d72affb96696024367 (patch)
tree687a6691bdaad562624a148218fc74cd158919c3 /libs/ardour/template_utils.cc
parentb6b353d4528bbb7f352f9947015a3b7168825a9c (diff)
Sort Session templates alphabetically
Diffstat (limited to 'libs/ardour/template_utils.cc')
-rw-r--r--libs/ardour/template_utils.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/libs/ardour/template_utils.cc b/libs/ardour/template_utils.cc
index f6b6c59fbc..4b8d5b2b78 100644
--- a/libs/ardour/template_utils.cc
+++ b/libs/ardour/template_utils.cc
@@ -131,6 +131,7 @@ find_session_templates (vector<TemplateInfo>& template_names, bool read_xml)
template_names.push_back (rti);
}
+ std::sort(template_names.begin(), template_names.end());
}
void