Recurse less in sort
Implements limiting the sort recursion depth to avoid cells that will never have a hydro interaction within or below them.
This will probably not impact the sort task speed, but should have an effect on the memory used for sort buffers.
@pdraper, can you run a quick benchmark of this change to look at memory size and CPU usage? Thanks!