Combine potatoes, onion and sweet pickle. Mix mayonnaise, sugar, vinegar, mustard, and salt to taste. Pour over potatoes and mix well. Add chopped eggs and mix.