Function mergeSortStr

  • Sorts an array of strings using the merge sort algorithm.

    Parameters

    • array: string[]

      The array to be sorted.

    Returns string[]

    The sorted array.