# Module: quicksort

## Table of contents

### Data Functions

- [default](quicksort.md#default)

## Data Functions

### default

▸ **default**(`a`, `b`): `number`

Compares the left and right value and returns -1, 0, or +1 based on which is larger.

#### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `a` | `any` | left value |
| `b` | `any` | right value |

#### Returns

`number`

#### Defined in

[src/quicksort.js:12](https://github.com/Twipped/js-utils/blob/9c196e3/src/quicksort.js#L12)
