Rating:

Note that order of array is prime, so swap distance is coprime. Use the congruences this implies to create an ordering of elements we can use as a comparison for bubble sort.

Full writeup: [https://github.com/blatchley/CTF_Writeups/blob/master/2020/NACTF/general/GeneralWriteups.md#vegetables-4](https://github.com/blatchley/CTF_Writeups/blob/master/2020/NACTF/general/GeneralWriteups.md#vegetables-4)