The pilot landed on runway 24 and encountered a sudden wind shift. The airplane touched down on the main gear, then twice the tail lowered and raised followed by the propeller striking the runway. The airplane went off the right side of the runway onto grass, then it nosed over and came to rest inverted. About 5 minutes before touchdown, the wind was recorded to be from 260 degrees at 8 knots. About 2 minutes after touchdown, the wind was recorded as 190 degrees, variable to 310 degrees, at 8 knots, with gusts to 25 knots.