Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Add sort key option to p:text-sort #197
@xml-project pointed out that the
What we can do is add an option that defines a sort key as an XPath expression on the step. Proposal:
That's an interesting point. I agree, if you want to sort numerically (or, for example, if you want to sort a bunch of date times), you can use select:
It might be worth noting that this can raise a runtime exception if the cast fails.