private static void sortStudents(ArrayList<Student> studentArray2) {

		
		 
		 
		 
		//Student top = studentArray2.get(0);
		
		
		
		int j, first;
		for(int i=studentArray2.size() - 1; i > 0; i--)
		{
			first = 0;
			
			for(j = 1; j <= i; j++)
			{
				if((studentArray2.get(j).getLength()) < (studentArray2.get(first).getLength()))
					first = j;
				}
			Student temp = studentArray2.get(first);
			studentArray2.set(first, studentArray2.get(i));
			studentArray2.set(i, temp);
		
	}
		
	for(int i=0; i < studentArray2.size(); i++)
	{
		System.out.println(studentArray2.get(i));
	}

}