Description
The ability to use array_sort with a comparator was added in SPARK-29020; however, the new signature wasn't made available to the DataFrame operations API.
Proposed new signature:
package org.apache.spark.sql
object functions {
...
def array_sort(e: Column, comparator: (Column, Column) => Column): Column
...
}