I have had it with a menu in Build Forge – could not understand why the elements where not alphabetically sorted even though the Perl script generating the menu had a line like this
sort( @entries );
So Google to the rescue, I found this article about Perl Sorting Techniques http://www.perlfect.com/articles/sorting.shtml and just had to change the line of code to
@entries = sort { $a cmp $b } @entries;
Problem solved!