Just added: Embedded C From Zero
TypeScript
// This code returns numbers in the wrong order - fix the bug.
function sortAscending(nums: number[]): number[] {
  return nums.sort();
}

const a = sortAscending([10, 9, 1]);
const b = sortAscending([5, 40, 3, 22]);