Sort mixed-case string alternately
Filed under Libsys
The question
Given a string with capital and small letters, sort small and capital letters individually and arrange them such that they occur alternatively (e.g., DCAdcaa -> AaCaDcd).
No write-up yet. Related questions below have one.
Related Libsys questions
Collected from public candidate posts and coding forums. Updated Nov 2026.