Perche' tu non compari due date, ma bensi due stringhe

quindi il risultato dipende dal codice ascii...

where giuseppe > giovanni