Full test added for a static route sorter method
Added return statement
Moved the sort method to the static side also made finetunements
Updated test with higher expectation
Small refactor on sorting