[R] Sort a dataframe on the column Date

Meenu Sahi
2009-07-28T06:46:44Z

Dear Users
I have a dataframe called mydata4 of the following order with the first
column as a date and the rest of the columns are numeric with rate.
Column 1          Rate1 : Rate 20
(PxMid)
01/01/2003
07/01/2001
----
----
--

I wish to sort this dataframe on the first col in ascending order.
I tried to do the following
mydata4<-mydata4[,order(mydata4$PxMid)]
This give an error.

Please help.

Regards
Meenu

	[[alternative HTML version deleted]]