sort and search, tree and graph