changes line order