Sort by Version

Holy hell, I missed this. The zero pad sorting is a clever way but redundant.

Coda can actually sort on lists, i.e. a

List(
  List(1, 2),
  List(1, 1, 2)
).Sort()

will be properly reordered.

So the easiest solution is to make a column with a formula of
Version.Split(".").ForEach(CurrentValue.ToNumber())
and just sort on that.

2 Likes