SparseVector requires sorted entries