index: fix HTTP parameters when another param is already given

I could have fixed the `map`, but I don't want to continue this
obfuscation further.

Signed-off-by: Timothy Gu <timothygu99@gmail.com>
fate.css: wrap long lines in log

Signed-off-by: Timothy Gu <timothygu99@gmail.com>
index: use one parameter "sort" for both ascending and descending sorting

Signed-off-by: Timothy Gu <timothygu99@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
index: move the declaration of $sort to the beginning of the file

Signed-off-by: Timothy Gu <timothygu99@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
FATE.pm: use $ntests instead of $ntest for consistency

Signed-off-by: Timothy Gu <timothygu99@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Move $nfail calculation to FATE.pm

Signed-off-by: Timothy Gu <timothygu99@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
index: allow multiple sorting criteria

Signed-off-by: Timothy Gu <timothygu99@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
index: lsort(): add support for sorting with '//'

Signed-off-by: Timothy Gu <timothygu99@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>