Here the basic thing to keep in mind is that inertia is a property while friction is the resistance offered by surface on moving body.
Here the force required is same.But that doesn't mean that they have same inertia.
Since there is no force acting in the horizontal direction for both the forces, a small amount of force only required to displace them.
If the surface had friction, then the force required would have changed.