Draw chest in y order if their sprite is higher than themselves.

Actually, this could also work for most entities.