Add second order by id ASC when ordering by popularity