Why not send the official King's Justice, Ilyn Payne?
According to the rules of the Kingdom, Eddard should have send Ilyn Payne, the King's Justice and Royal Executioner. But since Gregor Clegane is most likely working for Tywin Lannister and House Payne is a house from the Westerlands and sworn to House Lannister, he doesn't believe Ilyn Payne will chase Clegane.
In truth, Ned did not trust the mute knight, though perhaps that was only because he misliked executioners. "I remind you, the Paynes are bannermen to House Lannister. I thought it best to choose men who owed Lord Tywin no fealty."
Lord Beric was in King's Landing to participate in the Hand's Tourney and stayed a few days after, hence was attending at the court.
In the books, Eddard Stark doesn't ask him to assemble hundred men, but asks Beric Dondarrion, Thoros of Myr, Gladden Wylde and Lothar Mallery to gather each twenty men and adds twenty of his own men commanded by Alyn.
About Loyalty and History:
Alyn
Alyn is a trusted household guard of Eddard (not a knight but Ned doesn't care about knighthood).
Gladden Wylde
House Wylde is a House from the Stormlands, loyal to Robert Baratheon.
Lothar Mallery
House Mallery is a House from the Crownlands, loyal to Robert Baratheon.
Thoros of Myr
Thoros is a personal friend of the King Robert. As a fighter he served Robert against the Greyjoy rebellion. He also defeated Gregor Clegane several times in tourneys. Probably the most experienced fighter of them four.
Beric Dondarrion
House Dondarrion is an old House, from the Stormlands loyal to Robert Baratheon. Seemed to be chosen over Loras Tyrell for his neutrality.
"No one doubts your valor, Ser Loras, but we are about justice here, and what you seek is vengeance."
He also takes the command of the whole group (instead of Thoros) because of his higher ranked titles.