-- -*- M2-comint -*- hash: 17846491643283420557

i1 : isSorted {1,2,2,3}

o1 = true

i2 : isSorted {1,2,3,2}

o2 = false

i3 : R = ZZ/2[x,y,z, MonomialOrder => Lex];

i4 : isSorted (z^3, y^2, x)

o4 = true

i5 : R = ZZ/2[x,y,z, MonomialOrder => GLex];

i6 : isSorted (z^3, y^2, x)

o6 = false

i7 : 
