Fix compile error
Make groupEdges test check dst sort order
Merge pull request #2 from ankurdave/SPARK-1987

Fixes the compile error, sorts by (srcId, dstId) rather than just srcId because groupEdges relies on that, and works around a small bug in ParallelSorter that requires you to supply explicit sorting ranges to avoid a ClassCastException.