Definition of a lexicographical order? [duplicate]
问题 This question already has an answer here : What is lexicographical order? (1 answer) Closed 2 years ago . I am currently reading about the std::next_permutation function and encountered the term "lexicographical order". At the particular time, I had no experience with this term whatsoever so did a google search for this and found only somewhat cryptic definitions of this type of order, including the wiki article (at least they are to me). So could anybody try to help me understand this? What