How would I do this?
Do I separate it into partitions first? or do I order it by $(1,1)(1,2)(1,3)(2,1)$... etc.