Lines Matching refs:sort_by
38 indent_length sort_by
1716 =head2 sort_by
1718 $json = $json->sort_by($function_name)
1719 $json = $json->sort_by($subroutine_ref)
1723 $js = $pc->sort_by(sub { $JSON::PP::a cmp $JSON::PP::b })->encode($obj);
1726 $js = $pc->sort_by('own_sort')->encode($obj);
2187 If you want to use with your own sort routine, check the C<sort_by> method.
2191 $json->sort_by($sort_routine_ref)->encode($perl_scalar)
2193 $json->sort_by(sub { $JSON::PP::a <=> $JSON::PP::b })->encode($perl_scalar)