From 6f8ef036acc8859b467c34e77a0a9050bf69e79b Mon Sep 17 00:00:00 2001 From: Mischa POSLAWSKY Date: Sat, 11 May 2019 16:36:39 +0200 Subject: [PATCH] suborder by ladder id for equal number of games --- getsc2clan | 1 + 1 file changed, 1 insertion(+) diff --git a/getsc2clan b/getsc2clan index 6f486f9..3a6e237 100755 --- a/getsc2clan +++ b/getsc2clan @@ -41,6 +41,7 @@ my @ladders = ( nsort_by { -($_->{ladder}->[0]->{wins} + $_->{ladder}->[0]->{losses}) } # activity desc + nsort_by { $_->{ladder}->[0]->{ladderId} } # stable order grep { !$clanmatch or all { $_->{clanName} =~ $clanmatch } $_->{characters}->@* -- 2.30.0