Re-order functions emplacement