view def - rename group to groupBy
view def - rename order to orderBy