the meanDistance was not be added to the output. Now it is (previously it was the sum of the distance).
added an output column with the sort order in terms of increasing size of seriation solution. This way you can go through the solutions one by one (from 1) and see the solutions starting with the smallest size. The new DistanceOrder column can be used for this purpose.