Lexicographic(mu, nu)
Lexicographic(mu, nu)
returns true
if mu is
lexicographically greater than or equal to nu.
gap> p:=Partitions(6);;Sort(p,Lexicographic); p; [ [ 6 ],[ 5, 1 ],[ 4, 2 ],[ 4, 1, 1 ],[ 3, 3 ],[ 3, 2, 1 ], [ 3, 1, 1, 1 ],[ 2, 2, 2 ],[ 2, 2, 1, 1 ],[ 2, 1, 1, 1, 1 ], [ 1, 1, 1, 1, 1, 1 ] ]
This function requires the package ``specht'' (see RequirePackage).
GAP 3.4.4