When generating large text files that, during its creation in memory, require a lot of string handling (a known weak point of Javascript), one of the many ...
* BruteForce Approach: we will insert our each row of original array in the temp array from last column to first and then finally we will copy the temp array into the original array.