flip function

Flip the DT table to put Function, Variable, or Group by on top