Why did you get modded up? You're wrong. Sort will write temporary files to /tmp if you exceed its in-memory sort threshold.
Did you really think sort(1) just bails if you pipe it more data than can be contained in memory?
Did you really think sort(1) just bails if you pipe it more data than can be contained in memory?