Mustard Sauce - required for ham!

From Grandma Dolson. A staple on the table any time ham was served at her place.

1/2 cup sugar 
1 Tbsp dry mustard
1 egg
1/3 cup vinegar. I've only used white vinegar. Wonder what it would be like with cider or malt...