Skip to main content

BackgroundSelectionSort

Callable

  • BackgroundSelectionSort(a: { Description: string }, b: { Description: string }): number

  • Comapres two backgrounds by their description


    Parameters

    • a: { Description: string }

      The first object to compare

      • Description: string

        The description of object a. Is used for comparision

    • b: { Description: string }

      The second object to compar

      • Description: string

        The description of object b. Is used for comparision

    Returns number

    • Returns -1 if the description of object a is less then that of b, 1 otherwise