diy::sort should help us simplify implementation in vtkSortedTableStreamer.
diy::sort
vtkSortedTableStreamer