Yao, Minghua wrote: > Sorry for not asking the question clearly. The elements of the character vector may consist of numbers not just letter. How to do that. Thanks. > > -MY > Why won't ?sort do what you want? Please provide an example and the output you desire. --sundar