Reorder routes file to deepest first and remove filter