public String rearrange2(String deck, int[] above) {
		ArrayList<Character> characters = new ArrayList<Character>();
		char[] charArray = deck.toCharArray();
		for (int i = 0; i < above.length; i++) {
			characters.add(above[i], charArray[i]);
		}
		Character[] array = characters.toArray(new Character[0]);
		char[] chars = new char[array.length];
		for (int i = 0; i < array.length; i++) {
			chars[i] = array[i];
		}
		return new String(chars);
	}