2025-01-03 01:35
It is the same in Java or other programming language because the sorting method on string[] or char []is based on ASCII code.
Upper case letters has a smaller ASCII code value than lower case letters.
So you need to define a sorting method