reorder fns to livecycle order