#24886 this PR have mark phase in FE, now add those change in BE. partition sort need sort all data in two pahse global