diff --git a/docs/manual/CoreTypes/resources.html b/docs/manual/CoreTypes/resources.html index 04b974041..662d13cc8 100644 --- a/docs/manual/CoreTypes/resources.html +++ b/docs/manual/CoreTypes/resources.html @@ -742,6 +742,30 @@ platforms.
Reverse the natural sort order, or that of a single nested comparator.
++ <property name="eol" value="${line.separator}" /> + <pathconvert property="sorted" pathsep="${eol}"> + <sort> + <tokens> + <string value="foo bar etc baz" /> + <stringtokenizer /> + </tokens> + </sort> + </pathconvert>+
The resource of type string "foo bar etc baz" is split into four tokens by + the stringtokenizer. These tokens are sorted and there sorted gets the value + of "bar baz etc foo".
+ ++ <sort> + <fileset dir="foo" /> + <reverse> + <date /> + </reverse> + </sort>+
This takes all files from foo and sorts it by modification date in reverse order.
+