Comparison of the numeric values is performed in twoways— whether or not one value is smaller/greater thanthe other.The size factor determines the comparison of twonumeric values, that is, the comparison of numericvalues is performed by determining whether or not onevalue is smaller/greater than the other.The comparison of character strings is performed by thefollowing procedure:1. The value of one character is determined inaccordance with the table of ASCII character codes.2. The value of strings having more than two charactersare compared as follows:The value of comparison based on Rule 1 above should bedone on the first pair of characters, then on thesecond, and so forth.The string in which a character with a smaller codevalue first appears is determined as smaller.If either string ends but determination is not madeyet, the shorter one is regarded smaller.3-22