# Bitonic Sort

*Module of the free GPU.js GPGPU course · 5 tasks*

More comparisons than quicksort, and far faster on a GPU — because the whole comparison schedule is fixed before the data arrives.

## Tasks

1. [The Compare-Exchange, as a Gather](https://gpu.rocks/learn/bitonic-sort-84e0728e/1.md)
2. [Who Is My Partner?](https://gpu.rocks/learn/bitonic-sort-84e0728e/2.md)
3. [Which Way Does My Pair Sort?](https://gpu.rocks/learn/bitonic-sort-84e0728e/3.md)
4. [Drive the Whole Network](https://gpu.rocks/learn/bitonic-sort-84e0728e/4.md)
5. [Payoff: Sort a Real Array](https://gpu.rocks/learn/bitonic-sort-84e0728e/5.md)

---

Interactive version: https://gpu.rocks/learn/bitonic-sort-84e0728e
