Remove the existing sorting logic and let the tree-view handle the sorting. Scott -------------- next part -------------- A non-text attachment was scrubbed... Name: item_list_sort.diff Type: text/x-patch Size: 3859 bytes Desc: not available Url : http://lists.gnucash.org/pipermail/gnucash-patches/attachments/20051030/7c9e85bb/item_list_sort.bin