SPARK-1692 Enable external sorting in Spark SQL aggregates