Final merging/sorting after AMP sort

Database
N/A

Final merging/sorting after AMP sort

Hello,

How and where does the final sorting of data happens after AMP sorting?

Thanks,
Nirmal.