X-Git-Url: http://xvm.mit.edu/gitweb/invirt/packages/invirt-web.git/blobdiff_plain/74cf12ca4c1ba056483885a9b3b0d5c86014f1d1..96d25596909648779ec4703abb25f489a33ca4aa:/code/templates/functions.tmpl diff --git a/code/templates/functions.tmpl b/code/templates/functions.tmpl index c3aa050..a746145 100644 --- a/code/templates/functions.tmpl +++ b/code/templates/functions.tmpl @@ -14,7 +14,7 @@ #end def #def vmTypeList($default=None) -#for $vmtype in $sipb_xen_database.Type.select() +#for $vmtype in sorted($sipb_xen_database.Type.select(), key=lambda x: x.description)