Powershell Sort Array By Columns And Rows Difference Of Cubes