
{{alias}}( arrays )
    Sorts a one-dimensional single-precision floating-point ndarray using
    heapsort.

    When the sort order is less than zero, the input ndarray is sorted in
    decreasing order. When the sort order is greater than zero, the input
    ndarray is sorted in increasing order. When the sort order is equal to zero,
    the input ndarray is left unchanged.

    The input ndarray is sorted *in-place* (i.e., the input ndarray is
    *mutated*).

    Parameters
    ----------
    arrays: ArrayLikeObject<ndarray>
        Array-like object containing the following ndarrays:

        - a one-dimensional input ndarray.
        - a zero-dimensional ndarray specifying the sort order.

    Returns
    -------
    out: ndarray
        Input ndarray.

    Examples
    --------
    > var x = new {{alias:@stdlib/ndarray/vector/float32}}( [ 1.0, -2.0, 3.0, -4.0 ] );
    > var o = {{alias:@stdlib/ndarray/from-scalar}}( 1.0, { 'dtype': 'float32' } );
    > {{alias}}( [ x, o ] )
    <ndarray>[ -4.0, -2.0, 1.0, 3.0 ]

    See Also
    --------
