I am working on an phone book class, and I have to have the Phone numbers, which have a name and address in an order list(linked).
But I have to sort by phone nnumber, not by name...I have been trying to think of ways to sort the phone numbers.
So far the only thing I have is sorting by ASCII values or if a number is longer than another(Area Codes).
So my question is, how would you go about sorting phone book, using only the phone numbers to sort by?