What is the meaning of Matthew 10:2-4?

2 Now the names of the twelve apostles are these; The first, Simon, who is called Peter, and Andrew his brother; James the son of Zebedee, and John his brother; 3 Philip, and Bartholomew; Thomas, and Matthew the publican; James the son of Alphaeus, and Lebbaeus, whose surname was Thaddaeus; 4 Simon the Canaanite, and Judas Iscariot, who also betrayed him. (Matthew 10:2-4 KJV)

William Burkitt’s Commentary

Observe here, Of the twelve apostles Peter is named first, and Judas last. Peter is named first, because first called, Mt 4:18 or because probably elder than the rest; or because, for order-sake, he might speak before the rest: from whence may be inferred a primacy, but no supremacy; a priority of order, but no superiority of degree. As the foreman of a grand inquest has a presidency, but no re-eminency. Judas is named last, with a brand of infamy set upon him, that he was the traitor the person that betrayed his Lord and Master.

Learn hence, That though the truth of grace is absolutely necessary to a minister’s salvation, yet the want of it does not disannul his office, nor hinder the lawfulness of his ministry: Judas, though a traitor, was yet a lawful minister. Inward holiness is not necessary to render the offices belonging to the ministerial function valid and effectual: Judas preaches Christ as well as the rest and was not excepted when Christ said, He that receiveth you, receiveth me.