In a large bowl combine the gelatin and hot water.
Add the pineapple and cherry pie filling.
Pour into an 8x11-inch glass dish. Chill until set.
Soften the cream cheese and mix well with the sugar.
Blend in the sour cream and vanilla.
Spread over the gelatin mixture. Sprinkle with nuts if desired.
Chill till serving time.
Serves 6