View Single Post
Old 10-21-2008, 07:05 PM   PM User | #6
ctbalamurali
New to the CF scene

 
Join Date: Oct 2008
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
ctbalamurali is an unknown quantity at this point
Quote:
Originally Posted by shyam View Post
what did you do? the scenario you describe can be pretty easily accomplished using just comparator...(its usually easier to sort it ascending and reverse the results for descending >).. )


cmon...this isn't passing a dynamic variable :O...have you considered the case when an collection containing some students who want to be sorted ascending and others descending !!
while craeting the student object in rn=untime sorting order need to be passed. once it order is passed then it will get sorted what ever the way it wants. This is called dynamic variable sir
ctbalamurali is offline   Reply With Quote