Cornell and Princeton have very poor engineering schools compared to Stanford. Princeton's physics and sciences are great, but not engineering is not comparable at all.
From the perspective of CS academia, I don't think of Stanford and Cornell as having particularly noticeable prestige differences. Stanford is considerably larger, so is better-known in more areas, while Cornell specializes in a few, with a math-heavy, formal focus. Stanford's business/VC connections are definitely better known, though.