def reduce_order(func):
 (nap, nbq, operators) = _reduce_order(func.ap, func.bq, ReduceOrder, default_sort_key)
 return (Hyper_Function(Tuple(*nap), Tuple(*nbq)), operators)

def reduce_order ( func ) : ( nap , nbq , operators ) = _reduce_order ( func . ap , func . bq , ReduceOrder , default_sort_key ) return ( Hyper_Function ( Tuple ( * nap ) , Tuple ( * nbq ) ) , operators )
given the hypergeometric function func .