Arizona continued to move down the rankings of worst states for housing foreclosures in August, falling to 13th, the best since before the recession and burst of the housing bubble.

The ranking, made by RealtyTrac Inc. of Irvine, Calif., came on 2,973 foreclosure filings in the state, 62.4 percent fewer than August 2012. A filing includes a notice of default, an auction notice and a bank takeover for sale. Thus one property can have more than one filing against it.

The state's improving housing market and overall economy were reflected in the latest monthly report, which also saw national foreclosure filings decline 34 percent from one year ago.

In Phoenix, filings were down 63.6 percent, with a total of 2,119, and in Tucson, they fell 67.6 percent, with a total of 297.