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

...rtByKey() until evaluation.