And he appointed, in accord with the plan of his father David, the offices of the priests in their ministries; and those of the Levites, in their orders, so that they might praise and minister before the priests according to the ritual of each day; and the porters, in their divisions, from gate to gate. For so had David, the man of God, instructed.