Update character_sort.cpp