FIX sort indices in CSR matrix for SVM