Order relations for lattice sums from order relations for theta functions