[SPARK-1021] Defer the data-driven computation of partition bounds in so...

...rtByKey() until evaluation.
Maybe we can rename valRB to _rangeBounds and use this directly in getPartitions?