code: public static function sortFixers(array $fixers)
      {
          // Schwartzian transform is used to improve the efficiency and avoid
          // `usort(): Array was modified by the user comparison function` warning for mocked objects.
          return self::stableSort(
              $fixers,
              static function (FixerInterface $fixer) {
                  return $fixer->getPriority();
              },
              static function ($a, $b) {
                  return self::cmpInt($b, $a);
              }
          );
      }
docs: Sort fixers by their priorities.
  
  @param FixerInterface[] $fixers
  
  @return FixerInterface[]