Since it is possible to write the column data in any order from a mex file, I would say no.
However, I tried three methods of sparse matrix generation:
- sparse(ceil(rand(10000, 1)*1000), ceil(rand(10000, 1)*1000), 1, 1000, 1000)
- sprand(1000, 1000, 0.01)
- sparse(A)
and these all provided sorted columns.