BackgroundSelectionSort
Callable
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
Comapres two backgrounds by their description