'Resolve an orderby or groupby expression into its items
@param expr: the orderby/groupby expression'

@staticmethod
def resolve_expression(expr):

    if isinstance(expr, str):
        items = expr.split(',')
    elif (not isinstance(expr, (list, tuple))):
        items = [expr]
    else:
        items = expr
    return items
