I am trying to find the smallest lexicographic string in a vector of strings in rust (rust equivalent of python min(strings)). However, I am not sure how I would be able to compare strings lexicographically with rust in the first place. How would I go about doing so?
It seems like comparison with the < or > works, but I am not sure if that is actually true lexicographic comparison.