Added sorting to AutoCompletionService