reverse sort order

This commit is contained in:
zotlabs 2017-03-02 23:02:44 -08:00
parent cee9a20e85
commit 155844f142

View File

@ -857,7 +857,7 @@ function tag_sort_length($a,$b) {
function total_sort($a,$b) {
if($a['total'] == $b['total'])
return 0;
return(($b['total'] < $a['total']) ? 1 : (-1));
return(($b['total'] > $a['total']) ? 1 : (-1));
}