select nro_doc_pago,nro_reg,importe_total from facturas where nro_doc_pago matches "3132*" group by nro_doc_pago,nro_reg,importe_total order by nro_doc_pago