python compare 2 strings alphabetically