These two are not at all the same, and one is much more dangerous and asocial than the other.
Jaywalking when being blinded by the sun is about as silly as you bringing it up to prove some point. Only a fool would do that, like someone who thinks they can beat a possibly rigged gambling system.