private void sortUnitsToBombard(final List<Unit> units,final PlayerID player){
  if (units.isEmpty()) {
    return;
  }
  Collections.sort(units,UnitComparator.getDecreasingAttackComparator(player));
}

private void sortUnitsToBombard ( final List < Unit > units , final PlayerID player ) { if ( units . isEmpty ( ) ) { return ; } Collections . sort ( units , UnitComparator . getDecreasingAttackComparator ( player ) ) ; }
sort the specified units in preferred movement or unload order .
