How do I order by lastname? [duplicate]

This question already has an answer here:

How do I order my list with people alphabetical? I have the people randomly in a list but I want it to be alpabetical ordered. How do I do that?

Here is my code:

@if (ViewBag.Roles.CanModify)
{

Sleep naar een groep om deze toe te voegen

}