sort_array
function
Applies to: Databricks SQL Databricks Runtime
Returns the array in expr
in sorted order.
Arguments
expr
: AnARRAY
expression of sortable elements.ascendingOrder
: An optionalBOOLEAN
expression defaulting totrue
.