bash compare strings lexicographically