You can sort members of a Java compilation unit according to a category order defined in the Java > Appearance > Members Sort Order preference page. You'll find the action under Source > Sort Members