Excel doesn't consider the case of alphabetic characters when
sorting, unless you tell it to. If you want to distinguish
between upper- and lower-cases during a sort, select the data
you want to sort, then choose Data, Sort. Click Options in the
Sort dialog box, and choose the Case Sensitive option. Click OK
twice. You'll have to remember to select this option each time,
because Excel won't retain the setting.