original_string: private function sortRules(&$rules)
      {
          sort($rules);
          usort($rules, function ($a, $b) {
              return strlen($a) - strlen($b);
          });
      }
code: private function sortRules(&$rules)
      {
          sort($rules);
          usort($rules, function ($a, $b) {
              return strlen($a) - strlen($b);
          });
      }
code_tokens: private function sortRules ( & $ rules ) { sort ( $ rules ) ; usort ( $ rules , function ( $ a , $ b ) { return strlen ( $ a ) - strlen ( $ b ) ; } ) ; }
docstring: Sort gitignore rules.
  
  @param  array  &$rules
  @return void
docstring_tokens: Sort gitignore rules .