Hi Arun, Its the same question,but i need to arrange them i a perticular order ,,,which is not in desc or ascending order. Thanks, Namit -- View this message in context: http://r.789695.n4.nabble.com/Arranging-the-data-tp4637865p4637872.html Sent from the R help mailing list archive at Nabble.com.