Not sure why you think a candidate who uses R is inferior to one who uses Python?
Also, a really good candidate should use the right tool for the job, so if you expect them to use Unix sort you should somehow imply a situation where that is the best approach.