JAVA:实现BitonicSort双调排序算法
package com.thealgorithms.sorts;
public class BitonicSort {
/* The parameter dir indicates the sorting direction,
ASCENDING or DESCENDING; if (a[i] > a[j]) agrees
with the direction, then a[i] and a[j] are
interchanged. */
void compAndSwap(<