Ordinal comparison of strings.