Sequential tasks performed by catalytic pumps for colloidal crystallization