How will you sort strings in the following example ?
        Posted  
        
            by Phoenix
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by Phoenix
        
        
        
        Published on 2010-03-19T14:10:27Z
        Indexed on 
            2010/03/19
            14:11 UTC
        
        
        Read the original article
        Hit count: 224
        
so i have a list of string
{test,testertest,testing,tester,testingtest}
I want to sort it in descending order .. how do u sort strings in general ? Is it based on the length or is it character by character ??
how would it be in the example above ?? I want to sort them in a descending way.
© Stack Overflow or respective owner