Function quickSortNum

  • Sorts an array of numbers using the quick sort algorithm.

    Parameters

    • array: number[]

      The array to be sorted.

    Returns number[]

    The sorted array.