Changing Nulls Ordering in Spark SQL
<p>I need to be able to sort columns in ascending and descending order and also allow nulls to be first or nulls to be last.  Using RDDs I could use the sortByKey method with a custom comparator.  I was wondering if there is a corresponding approach using the Dataset API.  I see how to to add desc/asc to columns but I have no clue on the nulls ordering.  </p>