Can do `return $b['params'] - count($a['params'])` instead of lines 893 — 897.