Can someone explain this joke to me? I don't get it

In Garfield and friends, the judge says "Order in the court" and then Binky says: I'll have a ham on rye, Hold the mayo!"
Apparently it's a really old joke.

You might also enjoy

Many of the jokes are contributions from our users. If you find anything offensive and against our policy please report it here with a link to the page. We will do everything to make this an enjoyable platform for everyone.