P-99: 1.28 Sorting a list of lists according to length of sublists
P-99: Ninety-Nine Prolog Problemsの問題にMercuryで解答していきます.
a)
[["o"], ["d", "e"], ["d", "e"], ["m", "n"], ["a", "b", "c"], ["f", "g", "h"], ["i", "j", "k", "l"]]
b)
[["i", "j", "k", "l"], ["o"], ["a", "b", "c"], ["f", "g", "h"], ["d", "e"], ["d", "e"], ["m", "n"]]