X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Felements%2Fselect-tiered.html;h=e76bf762b22e3cd23312ecf84dfd2cde310f8cfc;hb=64aa9aa36d8b8636b4984de7d15cd7bd1a889542;hp=99b285274d33a686832e3fb4cf33c855e8bf710a;hpb=eb9d1063e1203231ee0c6922ea5638370f7b5ece;p=freeside.git
diff --git a/httemplate/elements/select-tiered.html b/httemplate/elements/select-tiered.html
index 99b285274..e76bf762b 100644
--- a/httemplate/elements/select-tiered.html
+++ b/httemplate/elements/select-tiered.html
@@ -59,7 +59,11 @@ main argument list, and will be applied to the last tier.
>
% if ( $i == 0 ) {
% my $options = $tiers_by_key->[0]->{''};
-% foreach ( sort keys %$options ) {
+% #foreach ( sort keys %$options ) {
+% foreach ( sort { lc($options->{$a}) cmp lc($options->{$b}) }
+% keys %$options
+% )
+% {
% }
@@ -68,8 +72,8 @@ main argument list, and will be applied to the last tier.
<% $tier->{after} %>
% } #foreach $tier
+