SELECT id_progressivo,id_settore FROM tabella order by id_settore
anzichè utilizzare order by devi utilizzare group by id_settore