getting sortable tree to work