$element->sort_children(sub { my ($elt) = @_; my $to = $elt->first_child('TabOrde +r'); $to ? $to->text : 0 }, type => 'numeric');
In reply to Re: Twig - sorting XML error
by choroba
in thread Twig - sorting XML error
by Melly
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |