Roger, Thanks for the reply but the array you create there will contain the sorted keys, not sorted values. TA jg _____________________________________________________ "The man who grasps principles can successfully
select his own methods. The man who tries methods,
ignoring principles, is sure to have trouble. ~ Ralph Waldo Emerson
Re: Re: Sorting my hashref by value for printing a popup_menu using CGI
Download Code Replies are listed 'Best First'.