Mnemo::_sortByDesc PHP Method

_sortByDesc() protected static method

Comparison function for sorting notes by description.
protected static _sortByDesc ( array $a, array $b ) : integer
$a array Note one.
$b array Note two.
return integer 1 if memo one is greater, -1 if memo two is greater; 0 if they are equal.
    protected static function _sortByDesc($a, $b)
    {
        return strcoll($a['desc'], $b['desc']);
    }