function move(values, from, to) {
		const value = values[from];
		values.splice(from, 1);
		values.splice(to, 0, value);
	}
Move an element in an array from one index to another
@param {any[]} values The array of values
@param {number} from The index to move from
@param {number} to The index to move to