Interviewer: sort this file of 1,000 names. Here's a Linux laptop.
Candidate 1: writes some Python code
Candidate 2: writes some C++
Candidate 3: runs "sort names.txt"
Candidate 1: writes some Python code
Candidate 2: writes some C++
Candidate 3: runs "sort names.txt"
python3 -c 'import sys; list(print(line.strip()) for line in sorted(sys.stdin, key=str.lower))'