Re-order some lines