bozosort

Bozo sort algorithm.

Usage no npm install needed!

<script type="module">
  import bozosort from 'https://cdn.skypack.dev/bozosort';
</script>

README

node-bozosort Build Status

For those who don't know, a Bozo Sort is a joke sorting algorithm that actually sorts but at horrible timing and is very inefficient.

Note: Do not use it in production, unless you're a bozo.

bozo clown

Install

$ npm install --save bozosort

Usage

var bozosort = require('bozosort');

bozosort([5, 7, 3, 10, 4, 15, 1]);
//=> [1, 3, 4, 5, 7, 10, 15]

API

bozosort(list)

list

Required
Type: Array

License

MIT © Vinícius do Carmo