It it possible to alphabetize the characters in a string, disregarding upper and lower case? I need them to stay in the case they are in, so I can't use .lower()
or .upper()
, but I'd like for them to be arranged with the letter taking precedence, so the resulting string would be something like:
"LMmqRRs"
instead of
"LMRRmqs"