Layer the vegetables and cheese in the listed order in a 9x13 pan.
Mix the mayonnaise, sour cream and sugar. Spread this over the top of the cheese like frosting all the way to the edges of the pan to seal. Cover and refrigerate at least 8 hours. Sprinkle crumbled bacon over top before serving.