Added lexicographical comparisons for strings