[C#]
//Extracting lexems values to string array.
for (int i = 0; i < editControl1.Language.Lexems.Count; i++)
{
Console.WriteLine("Value" + ((ConfigLexem)obj[i]).BeginBlock);
s[i] = ((ConfigLexem)obj[i]).BeginBlock;
}
To demonstrate this issue, I have created a sample for your reference, which extracts the lexems from the 'config.xml' file and sorts the "ContextChoice" Items in reverse alphabetical order. Here is the sample for your reference.
http://websamples.syncfusion.com/samples/Edit/F-62763/main.htm
Please let me know if you face any issues.
Regards,
Sarath