void (@NotNull CompletionParameters parameters, @NotNull String prefix, @NotNull CompletionResultSet result) { Collection<? extends T> values = getValues(parameters, prefix, result); values = ContainerUtil.sorted(values, myDescriptor); for (T completionVariant : values) { result.addElement(installInsertHandler(myDescriptor.createLookupBuilder(completionVariant))); } result.stopHere(); }