However, the sorting should be according to the first 'ignored' letter. For Example if the email contains the line 'tid tim tis' then you should consider the three words as one word and print them as 'tis' (the last word in this group), but while producing the sorted output you should sort them considering them as 'tid' (the first one in this group)
for the Accepted solutions, NO, the sorting is NOT according to the first 'ignored' letter as the problem says, but if you sort the key words with the third character with some specific fixed character (i tried space ' '), you get pass. taking the example 'tid tim tis', the problem says you are using 'tid' for sorting but actually the accepted code should use 'ti ' (space in the 3rd place).
this is a problem bug.
