Transpose results

This puts route lookup in the correct order