List<MyBasicProtocol> adultProtocolList = new List<MyBasicProtocol>();
adultProtocolList = new QhrServiceClient().GetAdultBasicProtocol();
if (adultProtocolList != null)
{
adultProtocolList.Sort((MyBasicProtocol p1, MyBasicProtocol p2) =>
{
if (p2.Name.CompareTo(p1.Name) != 0)
return p1.Name.CompareTo(p2.Name);
else
return p2.Name.CompareTo(p1.Name);
});
}