Reorg function order