• Sort the JSON (clean, parse, sort, stringify).

    Parameters

    • inputStr: string
    • Optional noArray: boolean

      Sort or don't sort arrays

    Returns string