Answers can serve as a hint towards questions being duplicates, but that is not the only consideration. To know what a duplicate means, lets go back to the time the feature was introduced as part of the system, shall we?
At first, you could mark any question as duplicate of another question, even if that other question had no answers. Having an answer wasn't required for closing duplicates. So, how did the "if they have the same answers, they are duplicates" work? It didn't. The requirement to only allowing questions to be closed against questions with an accepted or positively scored answer was because it was argued that we were robbing the opportunity to the answerer from answering a fresh question, which would motivate them. The reasoning was: if two questions without answer are duplicate, once one is answered, we close the other one against the answered one.
This requirement was bastardized, in part because another rule of thumb that was bastardized, into the current "if they have the same answer, they are duplicates". This blog post even argues against the incarnation of such rule of thumb. But, enough of that, you ask "How perfect does a [duplicate] needs to be?". Not perfect, word for word, the same question, but they have to be semantically the same question, or for the non-linguist among us: ask for the exact same thing, using different words.
How to know if two questions are semantically the same question? An actual good rule of thumb is to think of all possible answers to both questions. This can be used for both knowing when to questions aren't duplicates and when they are. If there's a potential answer that applies to one question, but not the other: they are not duplicate, just related. Note, this is just a rule of thumb, not an universal one. It's good for fast decisions, but don't marry to it.
In this specific case, if you remove all irrelevant information from the questions, would they still be the same?
sorted(['11', '2', '1', '3'])
work the way I expect".. and that's been answered many times. Then they can get a bit closer.