$sql.metaData.nullsAreSortedHigh

Retrieves whether NULL values are sorted high.
Syntax
    $sql.metaData.nullsAreSortedHigh{jdbcProfileName}
DocumentationRetrieves whether NULL values are sorted high.
Sorted high means that NULL values sort higher than any other value in a domain.
In an ascending order, if this method returns true, NULL values will appear at the end. By contrast, the method nullsAreSortedAtEnd indicates whether NULL values are sorted at the end regardless of sort order. :

    Paramter:
      Requieres one parameter, this is your JDBC profile name.
    Returns:
      1 if so; 0 otherwise
    Throws:
      SQLException - if a database access error occurs
Examples
GroupSQL
Minimum required transaction-mode:NONE
Required scripting permission of the developerPERMISSION_FL_BASIC
Minimum parameters1
Maximum parameters 1