Thinly slice the onions.
Melt butter in a heated pan.
Add the onions and slowly sauté over low heat until they become golden brown.
Season with sugar and salt.
Place sautéed onions in a bowl, add plain yogurt and mayonnaise, and mix well.
In a cup, layer the onions and yogurt sauce alternately.
Garnish with parsley or pepper.