Spread softened butter on one side of each bread slice. In the skillet over medium heat, layer the sandwiches as follows: one slice of rye (buttered side facing down), one slice of Swiss cheese, a cooked beef patty, a generous spoonful of caramelized onions, a drizzle of secret sauce, a slice of cheddar cheese, and top with a second slice of bread (buttered side facing up). Grill each sandwich until the bread is crisp and golden, about 1–2 minutes per side. Flip carefully and grill the opposite side until evenly browned and the cheese is melted.