Bitonic sort works for threads and size of base 2.