I am trying to have the last or largest number return me the destination city?

In the following set, Fort Worth is attached to H382826-4. I am needing Fort Worth to be next to H382826-1. I have already done the Origin part but that was easy. This has me a bit stumped.

Any advise would be greatly appreciated.

H382826-1
H382826-2
H382826-3
H382826-4


I would need something that can look for and up to 8 - 10 stops. Each one of the numbers past the " - " is a dispatch to another driver.


Capture.JPG