Dunn test
Which groups differ after a Kruskal-Wallis test? The Dunn test compares each pair of groups using their mean ranks. Because several comparisons arise, it needs an adjustment, for example Bonferroni or Holm.
Example: Mean ranks 2.75 and 10.5 for 12 values in 3 groups of 4: z = -3.04, p = 0.0024; after Bonferroni (3 comparisons) 0.0071.
Caution: Without adjustment, the number of false-positive findings grows with every further comparison.