simplified the concatenation and invocation of the runblocks
moved the moduleSort function to a separate file
renamed reverse.js to inverse.js