I'm new to scheme. I'm wondering how to sort strings in lexicographical order in scheme. For example:
(sort (list "cat" "apple" "dog"))
(apple cat dog)
In C++, I can have 'A'<'B', but it seems not work in scheme. I have referred online, but most are implemented in popular language, there are very few in scheme. So Can someone provide with an actual code in scheme and explain it? Thank you