public void changeLevelOrder() {
		if (gamePosition <= 0) return;
		try {
			Scanner scan = new Scanner(new File("levels/allLevels.txt"));

			ArrayList<String> temp = new ArrayList<String>();

			while (scan.hasNext()) {
				temp.add(scan.nextLine());
			}

			if (!temp.contains(filename + ".txt")) {

				if (gamePosition > temp.size()) temp.add(filename + ".txt");
				else {
					temp.add(gamePosition - 1, filename + ".txt");
				}
			}

			PrintStream out = new PrintStream(new File("levels/allLevels.txt"));

			for (String s : temp) {
				out.println(s);
			}

			out.close();
			scan.close();
		} catch (FileNotFoundException e) {
			e.printStackTrace();
		}
	}