[1] finish sort and bisearch