Added because the `WeightedRandom` required a sorted list of weights, and I thought it would be fun to add a few sorting algorithms it could use instead of the `OrderBy` LINQ method.
$ dotnet add package ExtraRandom.ExtraSortAdded because the WeightedRandom required a sorted list of weights, and I thought it would be fun to add a few sorting algorithms it could use instead of the OrderBy LINQ method.
The sorts added now are;
These are added using a Sort extension method for IList<T>, in which a instance of ISortAlgorithm must be passed.
This instance is then used to sort the current list.