in reply to sort array
Where does this Sort_Table routine come from?
You need to add all relevant code for us to figure out where you're going wrong.
You should probably include some small example datastructures in your question too.
If the information in this post is inaccurate, or just plain wrong, don't just downvote - please post explaining what's wrong.
That way everyone learns.
In Section
Seekers of Perl Wisdom