sort method

JsArray<E> sort([
  1. int fn(
    1. E left,
    2. E right
    )?
])

Implementation

JsArray<E> sort([int Function(E left, E right)? fn]) =>
    jsu.callMethod(this, 'sort', [fn]);