1. run the attached code
CC AA bb dd
sort in a case-sensitive way.
AA bb CC dd
sort in a case-insensitive way.
if you click the listheader twice, it sorts correctly (in a case-insensitive way).