How can I move an icon to a different place on the dock?
Click and drag: put the cursor on the icon you want to move, then click and hold while dragging the icon right or left to the position you want.