Implemented correct sorting of tree entries in Plumbing API. See issue #6