cache jstree labels for sorting