issue #1: move index.js files to top: first pass
Issue #1: changed to use Array sort method
Merge pull request #2 from acatl/reorder-indexjs-tkane2000

issue #1: move index.js files to top: first pass