How to re-order functions?

This could be the solution for you.