In fact, the create table site_nodes also miss the tree_sortkey field.
Should this be included for next release? If so, I think I can make the upgrade, and fix the create sql procs.