I have a matrix in Coordinate format and I will convert it to CSC. As a reference, the format I am using looks like this, but I am not using the pointerE matrix, which I think is superfluous.
My conversion algorithm seems quite slow and I am losing some time sorting the row data by row number. I can't figure out why I am doing this though, since I will be simply applying a Conjugate Gradient or GMRES method, I only need the result of $A\hat{v}=...$ which I think I can do without sorting row data.
Any reason why I should sort them anyway?