make SeriesRef.compareTo more consistent
Merge pull request #182 from atlasapi/fix-series-ref-comparison

make SeriesRef.compareTo more consistent