public void sortBy(String key) {
		switch (key) {
		case "Name" : sortByName();
		fireContentsChanged(this, 0, images.size()-1);
		break;
		case "Number" : sortByNumber();
		fireContentsChanged(this, 0, images.size()-1);
		break;
		case "Color" : sortByColor();
		fireContentsChanged(this, 0, images.size()-1);
		break;
		case "Trigger" : sortByTrigger();
		fireContentsChanged(this, 0, images.size()-1);
		break;
		case "Level" : sortByLevel();
		fireContentsChanged(this, 0, images.size()-1);
		break;
		case "Soul" : sortBySoul();
		fireContentsChanged(this, 0, images.size()-1);
		break;
		case "Cost" : sortByCost();
		fireContentsChanged(this, 0, images.size()-1);
		break;
		default:
			break;
		}
	}