diff --git a/lib/WebGUI/Utility.pm b/lib/WebGUI/Utility.pm index b1f4cb8bc..822290bf0 100644 --- a/lib/WebGUI/Utility.pm +++ b/lib/WebGUI/Utility.pm @@ -385,7 +385,7 @@ sub sortHash { #------------------------------------------------------------------- -=head2 sortHashDecending ( hash ) +=head2 sortHashDescending ( hash ) Sorts a hash in decending order by its values. Returns a Tie::IxHash. You must assign this to a similarly tied hash to preserve the order. @@ -396,7 +396,6 @@ A hash to be sorted. =cut - sub sortHashDescending { my %hash = @_; tie my %newHash, 'Tie::IxHash'; @@ -408,5 +407,3 @@ sub sortHashDescending { 1; - -