Array is rotating in the wrong direction

the array is rotating in the wrong direction its rotating to the front

What do you mean by rotating? In the Array modifier you can select the direction for the array duplicate an initial mesh/object… You can have rotation if you are using an Empty as an offset to the array and then rotating that empty…
Please provide more details about what you intend to reach

Where in the modifier can you change the direction for the array duplicate? I do not see that ?

I think i found the solution you must type in a negative value for the direction. the problem is solved