Pivot Table - Sort Field Names in Configuration Window

Hi,

I use ‘fieldMap’ option of pivotTable configuration in order to assign more readable name to columns.

I noticed that the order of the fields is sorted according to the original field names (which is not necessarily guaranteed according to js spec).

Is there any built in method I can sort the fields list?

Thanks

Each field stores the real name and the visible text (which is set via fieldMap):

{name: "gdp", text: "xGDP", ... }

By default, fields are sorted byname. This pattern can be redefined as shown here. Also, a custom sorting function can be applied:

https://webix.com/snippet/7957efbb