Probably most use on controllers, which cannot be ordered due to pathname ordering.
Methods, should be up to the user to re-order the source code.
Currently, is difficult to order, as routes / controllers are a flat array. Would be easiest to first add controllers per folder into a temporary array, order that, then add elements to the main array.
Would be worth tying this into #6 as the whole storage of routes and controllers may need simplifying anyway.
Probably most use on controllers, which cannot be ordered due to pathname ordering.
Methods, should be up to the user to re-order the source code.
Currently, is difficult to order, as routes / controllers are a flat array. Would be easiest to first add controllers per folder into a temporary array, order that, then add elements to the main array.
Would be worth tying this into #6 as the whole storage of routes and controllers may need simplifying anyway.