Created a function to change the order of functions easily, and by reference (if applicable).