You can set order="first" on your completion.contributor in the plugin.xml. Looks like it will make your contributor be called before contributors from other sources, resulting in your suggestions being first:
<extensions defaultExtensionNs="com.intellij"> <completion.contributor order="first" language="PHP" implementationClass="org.klesun.deep_assoc_completion.entry.DeepKeysCbtr"/>
When your contributor is called first, you can also write the code to decide how to position following suggestions or to exclude some of them altogether using CompletionResultSet::runRemainingContributes() and the PrioritizedLookupElement::withPriority() suggested by @peter-gromov:
protected void addCompletions(CompletionParameters parameters, ProcessingContext processingContext, CompletionResultSet result) { // ... some of your code here ... result.runRemainingContributors(parameters, otherSourceResult -> { // 2000 is any number - make it smaller than on your suggestion to position this suggestion lower result.addElement(PrioritizedLookupElement.withPriority(otherSourceResult.getLookupElement(), 2000)); }); }