public void sort(int order, int param){
			//Ascending
			if(order == ASC){
				switch(param){
					//Name
					case 1:
						Collections.sort(list);
						break;
					//Cost
					case 2:
						Collections.sort(list, Item.COMPARE_BY_COST);
						break;
					//Weight
					case 3:
						Collections.sort(list, Item.COMPARE_BY_WEIGHT);
						break;
					default:
						break;
					
				}
				
			}
			//Descending
			if(order == DES){
				switch(param){
				//Name
				case 1:
					Collections.sort(list);
					Collections.reverse(list);
					break;
				//Cost
				case 2:
					Collections.sort(list, Item.COMPARE_BY_COST);
					Collections.reverse(list);
					break;
				//Weight
				case 3:
					Collections.sort(list, Item.COMPARE_BY_WEIGHT);
					Collections.reverse(list);
					break;
				default:
					break;
				
			}
		}
			
		
	}