stefankroes/ancestry — pull request #85 by iliya-gr (2011-12-20 08:32:23+00:00)
Title: Added block to sort_by_ancestry method for sorting within rank.

Hi! I added block to sort_by_ancestry for custom sorting.
Example: Node.sort_by_ancestry(Node.all) {|a, b| a.position <=> b.position}