SPARK-1021 sortByKey() shouldn't launch a cluster job

Attempting the easy fix by making rangeBounds lazy

https://spark-project.atlassian.net/browse/SPARK-1021