set routes index to have list of sorted route buttons