You need to sign in to do that
Don't have an account?
crmexpert
sort the fields in vf controller
i am working on a vf controller..i need to sort the fields..not the values upon a particlular field..that is..i need the output as:
age, billing city, .....firstname, gender, lastname ....
that is alphabetically sort the FIELDS!!..
does anybody have any idea...????
All Answers
If you need to sort I would recommend checking out this post. It provides a sorting methed that is much more efficient, and easier, than building your own sorting alogrithm.
http://blog.sforce.com/sforce/2008/09/sorting-collect.html
i think i was unable to put it correctly..but what i meant was..
lastname, firstname ,gender, address
should be shown as
address, firstname, gender and lastname
now i think u shud get what i initially asked for :)