#include <stddef.h>
#include <stdlib.h>

#include "sorters.h"

const struct sorter sorters[] = {
	{ .name = "freebsd",         .func = freebsd_qsort   },
	{ .name = "glibc quicksort", .func = glibc_quicksort },
	{ .name = "glibc mergesort", .func = glibc_mergesort },
	{ .name = "musl smoothsort", .func = musl_smoothsort },
	{ .name = "musl heapsort",   .func = musl_heapsort   },
	{ .name = "wikisort",        .func = wikisort        },
	{ .name = "wikisort (ref)",  .func = wikisort_ref    },
	{ .name = "grailsort",       .func = grailsort       },
	{ .name = "grailsort (ref)", .func = grailsort_ref   },
	{ .name = "system",          .func = qsort           },
	{ 0 }
};