Sorting Char Array In Java Without Sort Method