Hi RK,
Try below steps it might help you.
1.Create a variable with rank function.
(=Rank([seq];[group];[s.no]))
2.Drag all the available objects along with RANK variable.
3.Select RANK column in block and apply ranking
4.Now delete the RANK column
Required Output
Try above steps it should work
Regards,
Samatha B