Adding "is_sorted" method to SGSparseVector for a better sanity check in "sparse_dot".