Adds sorted headers to route list