Easy to understand JavaScript solution
\nvar minDeletionSize = function(strs) {\n    const columns = strs[0].length;\n    const n = strs.length;\n    const sorted = Array(n).fill(false);\n    let res
```\nvar minDeletionSize = function(strs) {\n    const columns = strs[0].length;\n    const n = strs.length;\n    const sorted = Array(n).fill(false);\n    let result = index = 0;\n\n    for (let column = 0; column < columns; column++) {\n        for (index = 0; index < n - 1; index++) {\n            if (sorted[index]) continue;\n            if (strs[index + 1][column] < strs[index][column]) {\n                result += 1;\n                break;\n            }\n        }\n        if (index < n - 1) continue;\n        for (index = 0; index < n - 1; index++) {\n            sorted[index] ||= strs[index + 1][column] > strs[index][column];\n        }\n    }\n    return result;\n};\n```
['JavaScript']