Re-order funtions.