mirror of
https://github.com/curl/curl.git
synced 2026-07-16 06:47:16 +03:00
keywords: sort keywords alphabetically
This commit is contained in:
parent
7dbed6a2f5
commit
c09f6c72e9
1 changed files with 2 additions and 2 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue