code: private SplitSorting generateSplitSorting(int[] entrySorting, int limit) {
      List<SpatialEntry> sorting = new ArrayList<>();
      for(int i = 0; i < node.getNumEntries(); i++) {
        sorting.add(node.getEntry(entrySorting[i]));
      }
      return new SplitSorting(sorting, limit, splitAxis);
    }
docs: Generate the split sorting for a given sorting of entry positions
  using the given split position <code>limit</code>.
  All entries referenced by <code>entrySorting</code> from <code>0</code> to
  <code>limit-1</code> are put into the first list (<code>ret[0]</code>), the
  other entries are put into the second list (<code>ret[1]</code>).
  
  @param entrySorting entry sorting
  @param limit split point
  @return the split sorting for the given sorting and split point