Sort routes function fixed, used in configTopo view. Insert routes two directons. Show routes two directions.