Function ascendingSort

  • Sort an number array in ascending order.

    Parameters

    • arr: number[]

      The array to sort.

    Returns void