i am reading from a csv file.
i need to read each column separetly.
so i can sort the data of the column and use later.
the following is a part of the file i am reading;
BHP,"30 Sep 2002",9.14,9.2,9.05,9.05,16923879
BHP,"01 Oct 2002",9.1,9.29,9.07,9.29,8906781
BHP,"02 Oct 2002",9.5,9.54,9.35,9.39,14950825
BHP,"03 Oct 2002",9.39,9.39,9.21,9.24,8216758
BHP,"04 Oct 2002",9.25,9.28,9.18,9.28,6636304
BHP,"07 Oct 2002",9.22,9.33,9.14,9.22,3725225
BHP,"08 Oct 2002",9.1,9.16,9.05,9.14,9675060
i want to read the second column and sort the data in the column in respect to date.
i am using c language/