public void sort(int from, int to){ if (from >= to) return; int p = partition(from, to); sort(from, p); sort(p + 1, to);}