• Default comparator for FileLikes. Sorts by file name in ascending order.

    Parameters

    • a: FileLike
    • b: FileLike
    • getComparedValue: ((file) => string) = ...

      given a file being sorted, return the value by which its order should be determined, if it is different than the file object itself (e.g. file.name)

        • (file): string
        • Parameters

          Returns string

    Returns 1 | 0 | -1

Generated using TypeDoc