Given the root of a binary tree, calculate the **vertical order traversal**.
For each node at position (row, col):
- Root is at (0, 0).
- Left child of a node at (r, c) is at (r+1, c-1).
- Right child is at (r+1, c+1).
Return an array of node values grouped by column from left to right. Within the same column and row, sort by node value.