+ Start a Discussion

need to sort td elements a excel sheet will be downloaded through vfpage

Hi All,
Please help me with my requirement

I am downloading a report data of a object through VFpage, i am getting a map<string, List<sobject>> from the controller and passing the same to vfpage to get the data, I have four columns column1, column2, column3, column4 where i have to diaplay the data, i have to display report in sorting order as column1(sort A-Z), column2(sort A-Z), column3(sort A-Z), column(A-Z).

Please help me how to achieved i tried to use order by while querying the record but it is it working only for one particular field.
BEst Regards,
Mohammad Yaseen