diff --git a/balls.nimble b/balls.nimble index fdb9db7..99b76ad 100644 --- a/balls.nimble +++ b/balls.nimble @@ -1,4 +1,4 @@ -version = "2.6.1" +version = "2.6.2" author = "disruptek" description = "a unittest framework with balls 🔴🟡🟢" license = "MIT" diff --git a/balls/runner.nim b/balls/runner.nim index 477915b..aab1a12 100644 --- a/balls/runner.nim +++ b/balls/runner.nim @@ -113,7 +113,11 @@ proc matrixTable*(matrix: Matrix): string = # while the matrix has members, while matrix.len > 0: # reorder the remaining profiles by their display order - let profiles = toSeq(matrix.keys).sortedByIt(it.labels) + #let profiles = toSeq(matrix.keys).sortedByIt(it.labels) + # this is dumb for nim-1.[02] reasons + var profiles = toSeq matrix.keys + proc byLabels(a, b: auto): int = cmp(a, b) + profiles.sort(byLabels, Ascending) # the first profile in that list is the best one to show next var p = profiles[0]