fix route sort