v.24.5Performance Improvement

Add Configuration for Memory Control and Sorting Speed Enhancement

Add a new configurationprefer_merge_sort_block_bytes to control the memory usage and speed up sorting 2 times when merging when there are many columns. #62904 (LiuNeng).