result is binary-tree sort algoryth