Vertical Order Traversal of Binary Tree: Incorrect Testcase

The question says that There may be multiple nodes in the same row and same column. In such a case, sort these nodes by their values.
But it then judges this test case wrong. Am I missing something?

Input:
[3,1,4,0,2,2]
Output:
[[0],[1],[2,2,3],[4]]
Expected:
[[0],[1],[3,2,2],[4]]*

Comments (3)