SelectWithUnionQuery (children 1)
 ExpressionList (children 1)
  SelectQuery (children 1)
   ExpressionList (children 5)
    Literal UInt64_3 (alias nelems)
    Literal Array_[Array_[UInt64_1, UInt64_2], Array_[Int64_-10, Int64_-20], Array_[UInt64_10, UInt64_20], Array_[UInt64_0, UInt64_0], Array_[Float64_-1.5, UInt64_1]] (alias arr)
    Function arrayResize (children 1)
     ExpressionList (children 2)
      Function arrayPartialSort (children 1)
       ExpressionList (children 2)
        Identifier nelems
        Identifier arr
      Identifier nelems
    Function arrayResize (children 1)
     ExpressionList (children 2)
      Function arrayPartialReverseSort (children 1)
       ExpressionList (children 2)
        Identifier nelems
        Identifier arr
      Identifier nelems
    Function arrayResize (children 1)
     ExpressionList (children 2)
      Function arrayPartialSort (children 1)
       ExpressionList (children 3)
        Function lambda (children 1)
         ExpressionList (children 2)
          Function tuple (children 1)
           ExpressionList (children 1)
            Identifier x
          Function arraySum (children 1)
           ExpressionList (children 1)
            Identifier x
        Identifier nelems
        Identifier arr
      Identifier nelems
