Cooking this dish two days ahead allows the sweet potatoes and apples to soak up the flavors of the onion sauce. It's a win-win for all!