long start = System.currentTimeMillis();
Signature [] bitSets = makeRandomBitSets(numBitSets, cardinality);
long end = System.currentTimeMillis();
System.out.println("Took: " + (end - start) + " millis to initialize " + numBitSets + " bitsets of cardinality " + cardinality + ".");
Permuter permuter = new Permuter(cardinality);
PermutationIndexWriter.permuteAndSort(permuter, bitSets);
LexicographicBitSetComparator comparator = new LexicographicBitSetComparator();
start = System.currentTimeMillis();
Arrays.sort(bitSets, comparator);
end = System.currentTimeMillis();