@Override
		public void actionPerformed(ActionEvent arg0) {
			boolean unselectBool = false;
			if(!((JCheckBoxMenuItem)arg0.getSource()).isSelected()){
				unselectBool = true;
			}
			
			sortMenu.setPopupMenuVisible(true);
			sortTrueVisible = true;
			
			costCheck.setSelected(false);
			damageCheck.setSelected(false);
			armorCheck.setSelected(false);
			weightCheck.setSelected(false);
			statucCheck.setSelected(false);
			
			if(!unselectBool){
				((JCheckBoxMenuItem) arg0.getSource()).setSelected(true);
			}
			
			if(costCheck.isSelected()){
				currentSort = price;
			} else if (damageCheck.isSelected()){
				currentSort = damage;
			} else if(armorCheck.isSelected()){
				currentSort = armor;
			} else if(weightCheck.isSelected()){
				currentSort = weight;
			} else if(statucCheck.isSelected()){
				currentSort = statusEffect;
			} else{
				currentSort = -1;
			}
			
			ig.sortList();
			
		}