public void sort(Comparator<Mounted> comparator){
  Collections.sort(weapons,comparator);
  fireContentsChanged(this,0,weapons.size() - 1);
}

public void sort ( Comparator < Mounted > comparator ) { Collections . sort ( weapons , comparator ) ; fireContentsChanged ( this , 0 , weapons . size ( ) - 1 ) ; }
sort the mounteds , generally using a weaponcomparator .
