mirror of
https://github.com/moparisthebest/curl
synced 2024-12-22 08:08:50 -05:00
keywords: sort keywords alphabetically
This commit is contained in:
parent
7dbed6a2f5
commit
c09f6c72e9
@ -120,8 +120,8 @@ sub show {
|
||||
return $ret;
|
||||
}
|
||||
|
||||
# numerically on amount, or alphebetically if same amount
|
||||
my @mtest = reverse sort { $k{$a} <=> $k{$b} || $b cmp $a } keys %k;
|
||||
# sort alphabetically
|
||||
my @mtest = reverse sort { $b cmp $a } keys %k;
|
||||
|
||||
print <<TOP
|
||||
<table><tr><th>Num</th><th>Keyword</th><th>Test Cases</th></tr>
|
||||
|
Loading…
Reference in New Issue
Block a user