Code Organiser Programs
<p>Does anyone know of any tools or easy methods to help re-arrange and organise source code files? </p>

<p>In particular, I am looking for a tool that can take a javascript file, with a number of  separate functions, and show me a list of the functions which I can then re-arrange in a more logical order, and have it shuffle the code around to match my new ordering?</p>

<p>Ideally, it would be something that is interactive, rather than a single tool I have to run by command-line, as the order may differ each time.</p>

<p>I'm sure these sorts of tools must exist, but I can never find them whenever I look.</p>

<p>I also suspect that it is something that could be built rather easily by someone with good knowledge of Javascript meta-programming (it might just be a case of 'eval'ing the input, and finding all the functions, then rendering them in a re-orderable list).</p>
