And exactly how are you using gSort to sort your records?
You can't select gSort as the sort field It has the same value for every record in the table.
Are you specifying a sort field in this field and then a script sorts records into different orders according to the value in gSort?
gSort field is in the separate table "Globals", so I was trying to sort by gSort.
I've written a script sorting by gSort. (SortRecords), tried to do that manually...
What is the way to do sorting by the global field?
Still can't figure out how to sort by the field in the table, named in the global field...
This doesn't answer the question. How exactly are you trying to sort the data and how do you use gSort to do it?
To repeat, you can't use a global field as a sort field.
I've menaged to solve the task by calculation at the field:
gSortField = "Fieldname1"; GetSummary (SummaryField; Fieldname1);