Sort:  

Agree.

FWIW, I think ChatGPT can come close to working code given the algorithm pseudocode. It doesn't quite get APIs right, but that can probably be fixed with prompts.