Hey Java Fan,
My apologies for the complicated code. As much as i'd like to simplify it, I have not been able to get the functionality i want.
As mentioned earlier, my goal is to just sort the hash for print purposes. I do not care what order it is otherwise. The data i have is a collection of methods of different categories stored in different files.
I wish to print them in ascending order of Category then ascending order of files that belong to that category followed by ascending order of Name of methods in each of those files. ie.
Functions Alpha.dat ... MNO ... ... .... Methods Beta.dat ABC ... ... ...
As explained earlier, I can do it, but it takes too much time to do so and I wanted to know if i can speed it up.
I hope this explains what I wish to achieve.
Bugz

In reply to Re^2: Printing a Tree of Hash of hashes sorted by value by Bugz
in thread Printing a Tree of Hash of hashes sorted by value by Bugz

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.