An ECD tune, which is likely a border pipe tune.
This is a tune out of Playford. The Pranksters use it for the dance Whirligig, which is also from Playford but has a much less fun tune. It's written here in Dm, but when they play it for the dance, they play it through in Gm, then Am, then Dm. It's especially odd because the transition happens after the A part.
This is the tune to the Ricker orginal dance Uffington Horse.