I think I solved this problem on vta target. It is a simple pass bug causing extern function ‘sort’ error.