The document has been updated, and also now includes an example that has a join to another table.
I believe you can't do that in Oracle, right? tree_sortkey seems like a really slick solution.