Hi Vijayarasan Sivanandham,
I Run the sample code which is you shared. before sorting ShipId order is 1,3,5,8,4,2,6,9,7,10. After applying Sorting Largest to Smallest then the order is 1,8,5,3,4,2,9,6,10,7.
Expect order is 10,9,8,7,6,5,4,3,2,1.
Is it possible to expected order when grouping?