Reorder functions.