I have to create a report in whcih i am using group section. the sorting is being done automatically with it. but in my report the user inputs how he wants to sort. i tried to append the OrderByClause depending on the input but its not working as i guess the sorting set up of the group section is not letting it to. please help me on this. its real urgent Thanks lata