routing sorted

embarrassing how long this shit took (overall, not for solely this
commit)