Add the ability to sort via weight in urlRouter.js

To Do: Build a release and run tests