#include "spec.h"

Let smallerThan(Let pivot, Let arrayBeyond[]){
	if (pivot > First(arrayBeyond)){
		Let tmp = pivot;
		pivot = First(arrayBeyond);
		arrayBeyond[0] = tmp;
	}
	return pivot;
}

void sort(Co co){
	Let data[100] = {0};
	Log("sort");
	Take(data,"qwertyuiopasdfghjklzxcvbnm");
	Str(data);

	Sort(data,smallerThan);

	Str(data);

	co->routine = fizzbuzz;
}
