I want to sort an array by two fields. first on number in column1 and then text in column2.
please help me with any ideas or sample code which does this?
I can dump the array in a temporaty table in database. Then can run select * from TempTable order by col1, col2. Then i will have to drop the table. This has a lot of overhead. So I want a function to do this order by col1, col2.
Thank you.
please help me with any ideas or sample code which does this?
I can dump the array in a temporaty table in database. Then can run select * from TempTable order by col1, col2. Then i will have to drop the table. This has a lot of overhead. So I want a function to do this order by col1, col2.
Thank you.