good afternoon all, hope you are well
Im not actually working with csv files but I am working with strings that are layed out as csv files. I am getting the data from a mysql database.
This is an example of the data I am working with:
col1,col2,col3,paul,col5
col1,col2,z,Frank,col5
col1,col2,z,Adam,col5
col1,col2,z,Carl,col5
What I need to do is sort the column with the name alphabetically so its like this:
col1,col2,z,Adam,col5
col1,col2,z,Carl,col5
col1,col2,z,Frank,col5
col1,col2,paul,col4,col5
Any ideas how to do this?
I could use on my SQL query ORDER BY name
ASC
but the problem is, the data being stored in the database is in an encrypted format.
many thanks
adam