My question was closed as off-topic. My (low-confidence) understanding of the edit history suggests that three separate individuals all agreed that it was off-topic and so this doesn't seem to just be a single reviewer misunderstanding the question.
It does seem that many readers find the question to be poor in some way - obviously I don't currently think it's a stupid question (you can see discussion of the question's stupidity or otherwise in the notes), but I think that's irrelevant - even if it's a poor question it seems on-topic to me.
The on-topic page for Stack Overflow says questions should cover:
[1] a specific programming problem, or
[2] a software algorithm, or
[3] software tools commonly used by programmers; and is a practical, answerable problem that is unique to software development
[Numbering added by me]
I believe my original question matches 3 (software tools = Unix, answerable problem = I don't understand some ordering guarantees, with a yes/no question). After it was closed, I edited it to try and make it match 1 too, but to be honest I think that was a bit silly as the problem was already quite clearly implied by the question.
Any idea what perspective I'm missing here? Is there a way I could have better phrased this question or is this just a bad topic for some reason?