add cyclesort, references, edits, more test options