Updating order of position from Y - X to X - Y