Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Sort output
The ordering doesn't have any meaning, but multiple runs with the same input will now have the output in the same order
  • Loading branch information
MasterDuke17 committed Jul 15, 2016
1 parent 111cebb commit 48693da
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion committable.pl
Expand Up @@ -87,7 +87,7 @@ sub process_message {
push @{$outputs{$out}}, substr($commit, 0, 7);
}

$msg_response .= join("\n", map { join(',', @{$outputs{$_}}) . "=$_" } keys %outputs);
$msg_response .= join("\n", map { join(',', @{$outputs{$_}}) . "=$_" } sort keys %outputs);
} else {
$msg_response = help();
}
Expand Down

0 comments on commit 48693da

Please sign in to comment.