Improved autocomplete character name sorting