// Loop from the end since the call to close() will remove the
// element from the list.
for (int i = sortControllers.size() - 1; i >= 0; i--)
{
SortController sc = (SortController) sortControllers.get(i);
sc.completedInserts();
}
sortControllers.clear();
}
}