An open API service indexing awesome lists of open source software.

https://github.com/webcyou/sort

Sorted by TypeScript
https://github.com/webcyou/sort

Last synced: 4 months ago
JSON representation

Sorted by TypeScript

Awesome Lists containing this project

README

        

### Sort Algorithm

Sorted by TypeScript

### Use

````

````

````
var sort = new Sort();
var result = sort.marge(number[]);
````

or

````
var result = new Sort(number[]);
````

### Option

````
var sort = new Sort([], bucketLength);
var result = sort.bucket(number[]);
````
or

````
var sort = new Sort();
var result = sort.bucket(number[], bucketLength);
````

| OptionName | DefaultValue |
| -------------------- |-----------------|
| default sort | Quick Sort |
| default bucketLength | 100 |