Check if route short name are available before trying to compare sort by number.