How can I determine if a string is within two strings if I don't know how it rolls over?
<p>It is easy to see that G is between A and Z, but if I have a user enter a range of serial numbers from <code>56AAA7105A25</code> to <code>56AAA71064D6</code>, how can I determine if another serial number or  range falls between the two serial numbers specified before.  In order for me to know if it falls between them, wouldn't I need to know how it rolls over.  The problem I am facing is that according to code (c# in this case), one value would be considered greater than and less than the two values I specified, but according to the user, the value they enter is actually outside the range.  How do I handle scenarios like this?</p>
