Rearrange routines in chronological order.