Fixed route ordering when priorities are equivalent.