United reduced the deficit three minutes into the second half through Gary Mackay-Steven, who made his first start since August, but Paul Heffernan restored Kilmarnock’s two-goal advantage just three minutes later.

Daly gave Peter Houston’s men hope with a 56th-minute goal, nodding home Barry Douglas’ delightful cross.

Sheridan thought he had bagged a hat-trick but his 77th-minute goal was ruled out for offside.

That decision would come back to haunt Kilmarnock as Daly completed United’s comeback with a diving header from another Douglas cross.