Feature/fix route order

/to @bajtos @ritch 

Express 4.x doesn't expose app.routes. The PR sorts the routes before they are added to express.