Put functions into a proper order