You can change the order of the content assist items with the extionsion point org.eclipse.jdt.ui.javaCompletionProposalSorters
which lets you register your own implementation of ICompletionProposalSorter
.
The example below is from the plugin org.eclipse.jdt.ui
which provides two completion proposal sorters:
<extension
point="org.eclipse.jdt.ui.javaCompletionProposalSorters">
<proposalSorter
id="org.eclipse.jdt.ui.RelevanceSorter"
name="%RelevanceSorter.name"
class="org.eclipse.jdt.internal.ui.text.java.RelevanceSorter"/>
<proposalSorter
id="org.eclipse.jdt.ui.AlphabeticSorter"
name="%AlphabeticSorter.name"
class="org.eclipse.jdt.internal.ui.text.java.AlphabeticSorter"/>
</extension>
The implementations of AlphabeticSorter and RelevanceSorter might help you getting started with writing your own sorter.