Sort the vtkImageConnectivityFilter output arrays.