This is actually based on a comic. The Dark Knight Returns by Frank Miller. In that version Batman was a lot older than Superman, or at least looked a lot older, like in his fifties or sixties. I don't know whether Superman is supposed to age slower than other people or whether he was just younger than Batman in that version. So they actually made Batman younger when you look at the source material.