I am running a long simulation that produces a large table of almost 18 million rows and 70 columns.
That part of the simulation has completed; the last part consists in sorting the table in ascending order with regard to the content of the 66th column of the table. For this I use the code :
order = sortrows(Table, 66) ;
where Table is a 18million x 70 array. Generating Table took approximately 12 hours. I expected sorting it wouln't take long, but the program has been running for nearly 13 hours now to sort the table.
Is this normal ? How much longer should I expect to wait ? Am I doing something wrong ? Should I stop the simulation and try it again ? Are there any faster alternatives to sortrows, and if yes how should I implement them ?
Thanks for any help!
PS: I am using a Mac (oct. 2011) with an Intel i5 1.7GHz dual core processor, 4GB RAM and flash SSD storage.
Best Answer