Given a string containing alphanumeric ASCII characters only ([A-Za-z0-9]
),
sort and print the string in the following manner:
- all sorted lowercase letters are ahead of uppercase letters,
- all sorted uppercase letters are ahead of digits, and
- all sorted even digits are ahead of sorted odd digits.