Reverse sort on delimited chunks within a file

view story

http://www.unix.com – Hello, I have a large file in which data of names is sorted according to their homographs. The database has the following structure:Each set of homographs with their corresponding equivalents in Devanagari is separated out from the next set by a hard return. An example will make this clear: Quote: #akhal !akhal=अखाल ! akkal=अक्कल ! akal=अकाल #akhande !akhande=अखंडे ! aakhande=आखंडे ! akhnde=अख&#2306 (HowTos)