public int compare(SimNode o1, SimNode o2) {
			// TODO Auto-generated method stub
			double numbera = o1.getSim();
			double numberb = o2.getSim();
			if(numberb > numbera)
			{
				return 1;
			}
			else if(numberb<numbera)
			{
				return -1;
			}
			else
			{
				return 0;
			}
		
		}