Kruskal-Wallis: Sort grouped ranks before displaying them.
authorJohn Darrington <john@darrington.wattle.id.au>
Wed, 29 Feb 2012 17:32:20 +0000 (18:32 +0100)
committerJohn Darrington <john@darrington.wattle.id.au>
Wed, 29 Feb 2012 17:32:20 +0000 (18:32 +0100)
commit3e4d8e23c3786fa0f7762625092d17b0537a093d
tree3afbee67704fe25fcaaa071847006e2a96718b1f
parenta258da644fcf0667a93971adfc68e40badc756fa
Kruskal-Wallis: Sort grouped ranks before displaying them.

Debian's autobuilder showed that the KW tests were failing because the
hash which holds the rank entries was being iterated in arbitrary order.
This change sorts the entries before displaying them, so they should
always appear in the same order.
src/language/stats/kruskal-wallis.c
tests/language/stats/npar.at