JavaScript: Util disorderArr