Turns out you can just use `reverse.each_with_index` here.