digest-tree: digest tree node sorting redo based on ChronoChat-JS