```ts
/** Sorts numbers in ascending order without mutating the input argument. */
export function sortAscending(values: readonly number[]): number[] {
  return [...values].sort((a, b) => a - b);
}
```