function generateAndSortNumbers(size) {
  const numbers = Array.from({ length: size }, () => Math.random());
  return numbers.sort((a, b) => a - b);
}
Standard Processing Benchmark

Generates and sorts large arrays of random numbers using standard JavaScript.
Creates 1,000,000 random numbers, sorts them, and repeats 10 times.
Measures total execution time for performance comparison.