Python Loop Array Reverse Order Of Rows In Spreadsheet