Router sort