API return wrong order index of form fields in .net

Hi Team,

Apit return not correct order index. below the code I am using in asp.net.

string url = “/engine-rest/task/” + TaskId + “/form-variables”;
Dictionary<string, VariableValue> variableValues = await GetTaskFormVariables(url);

In Moduler:

  1. name. 2. Description.

In ASP.Net API return

  1. Description 2. name

could you please share sample code? It will really help us,