Tricky Permutation (lower + upper)

Does input string contains both lowercase and uppercase alphabets .
Question does not specify the inputs correctly.

Hey,
It doesn’t matter since once you sort the string, it automatically sorts in the lexicographic order.

But, in case, you can assume that the string only contains “Upper case alphabets”.