I have zero interest in arguing with a candidate who, when asked to implement bubble sort argues the requirements instead of the implementation. I have NDA's that may preclude me from telling you the details of the stack you'll be working on. The job listing should reasonably describe the environment (embedded, data warehousing, frontend, whatever). You're being asked to implement something super basic to prove you can code yourself out of a wet paper bag basically.
Many cannot, and those that argue the premise don't even get a chance to try.
If you think you're being evaluated on your knowledge of the stdlib's sort(), you misunderstand the purpose. You're being tested not because you can hit compile and it passes, but you're being tested on if you're able to follow directions, work within scope, solve problems and explain your thinking. If your thinking stops at "I'd never do that", so does mine.
You don't have time to explain the job requirements or stack?