Implement a sort kernel that matches the reference implementation.
The kernel should sort the input array in ascending order using a sort algorithm of your choice.

Input arrays are generated as random floating-point numbers, where each row of a roughly square matrix
is drawn from a normal distribution with a different mean value per row based on the seed and then flattened into a 1D array.
