FUNCTION: LieTools/GlexOrderSgMonoSet
USAGE: GlexOrderSgMonoSet(mset);
SYNOPSIS: GlexOrderSgMonoSet(mset) converts a set of monomials in S[g]
  to an ordered list using graded lexicographic order
CAVEATS: requires a previously initialized global Lie algebra environment.
  (See LieTools[gSetup].)
EXAMPLE: 
> mlist := [g[1]*g[2]*g[3], g[2], g[3], g[1]^3, g[2]^3,1, g[1]];

                                               3      3
     mlist := [g[1] g[2] g[3], g[2], g[3], g[1] , g[2] , 1, g[1]]

> LieTools[GlexOrderSgMonoSet](mlist);

                                   3                      3
         [1, g[1], g[2], g[3], g[1] , g[1] g[2] g[3], g[2] ]

SEE ALSO: 
