docs: public static BinaryInMemorySortBuffer createBuffer(
  			NormalizedKeyComputer normalizedKeyComputer,
  			AbstractRowSerializer<BaseRow> inputSerializer,
  			BinaryRowSerializer serializer,
  			RecordComparator comparator,
  			List<MemorySegment> memory) throws IOException {
  		checkArgument(memory.size() >= MIN_REQUIRED_BUFFERS);
  		int totalNumBuffers = memory.size();
  		ListMemorySegmentPool pool = new ListMemorySegmentPool(memory);
  		ArrayList<MemorySegment> recordBufferSegments = new ArrayList<>(16);
  		return new BinaryInMemorySortBuffer(
  				normalizedKeyComputer, inputSerializer, serializer, comparator, recordBufferSegments,
  				new SimpleCollectingOutputView(recordBufferSegments, pool, pool.pageSize()),
  				pool, totalNumBuffers);
  	}