Maintain enum order for select options

Maintains the original sort order of an `enum` for `string` types which result in the `select.html` template.

Using an `orderBy` filter is another option, but I think this is more readable.