I have many lists that need to be sorted according to specified interest. Alphabetical and numerical sorts using the array of values will not work.
For an example. The below cities, need to appear in this order. How can I accomplish this using JavaScript? Is there a way, I can represent each city with a numerical value then use the numerical values to sort the cities to the desired order below?
Salisbury, High Point, Wake, Charlotte, Raleigh, Cary, Wilson