+ Start a Discussion

Sorting technique for email template


I have stuck in one small issue

that is i wrote visualforce email template in it data is taken directly from database with out any sorting format . 


Now i want to sort it and display it , i want to sort date field.


can any one help on this ..