Sorting of the Giving Tree Gifts