private Score[] sortScore(ArrayList<Score> list)
	{
		Score[] topScores = new Score[3];
		int max = 0;

		//Checks if the list got 3 elements to fill the topscores list, else create new scores to fill it out
		if(list.size() >= 3)
		{
			max = 3;
		}
		else
		{
			max = list.size();
			for(int i = 0; i < 3 -list.size(); i++)
			{
				topScores[2-i] = new Score("No score", 0, "No time");
			}
		}
		//Iterate out the best 3 scores
		for(int i = 0; i < max; i++)
		{
			Iterator<Score> it = list.iterator();
			int savedIndex = 0;
			if(it.hasNext())
			{
				topScores[i] = it.next();
				int index = 1;

				while(it.hasNext())
				{
					Score score = it.next();
					if(score.getScore() > topScores[i].getScore())
					{
						topScores[i] = score;
						savedIndex = index;
					}
					index++;
				}
			}
			list.remove(savedIndex);
		}
		return topScores;
	}