Sadly converts all the shiny for-of loops iterating over sets into reverse for loops over arrays.