public void sortDeck() {
		//Denotes when sorting has been complete 
		boolean isSorted = false;
		
		//Denotes a switch has occurred during the for loop
		boolean switchOccur = false;
		int i;
		
		//Holds the first Elemental object so it is not lost during the switch
		Elemental placeholder;
		if(getDeckLength() > 1) {
			while(isSorted == false) {
				switchOccur = false;
				for(i=0;i<(getDeckLength()-1);i++) {
					if(elementalDeck[i].getElementID() > elementalDeck[i+1].getElementID()) {
						placeholder = elementalDeck[i];
						elementalDeck[i] = elementalDeck[i+1];
						elementalDeck[i+1] = placeholder;
						switchOccur = true;
					}
				}	
			//If no switch occurred in the iteration of the for loop, the sort is complete 
				if (switchOccur == false) {
					isSorted = true;
				}
			}
		}
	}