Shaking the entropy out of a lattice: atomic filtering by vibrational excitations