sort init routes