--- loncom/interface/loncommon.pm 2007/03/15 02:51:23 1.515 +++ loncom/interface/loncommon.pm 2007/03/20 15:36:14 1.516 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # a pile of common routines # -# $Id: loncommon.pm,v 1.515 2007/03/15 02:51:23 albertel Exp $ +# $Id: loncommon.pm,v 1.516 2007/03/20 15:36:14 albertel Exp $ # # Copyright Michigan State University Board of Trustees # @@ -1435,7 +1435,7 @@ selected"); #------------------------------------------- sub select_dom_form { my ($defdom,$name,$includeempty) = @_; - my @domains = &Apache::lonnet::all_domains(); + my @domains = sort(&Apache::lonnet::all_domains()); if ($includeempty) { @domains=('',@domains); } my $selectdomain = "