bubble sort of chars (capitals/non-capitals)