| borgEasy |
javascript |
| jsonSortByProperty(data,properties) |
| input |
description |
| data |
| json data or json object - data to be sorted |
|
| properties |
| json data or json object |
| list of columm names out of data according to which data |
| has to be sorted |
| leading minus sign results in descending sorted column |
| e.g.: 'colName1,-colName2,colName3' |
| JS version ES6 required |
|
|
| borgEasy |
javascript |
| jsonSortByProperty1(data,properties) |
| input |
description |
| data |
| json data or json object - data to be sorted |
|
| properties |
| json data or json object |
| list of columm names out of data according to which data |
| has to be sorted |
| leading minus sign results in descending sorted column |
| e.g.: 'colName1,-colName2,colName3' |
|
|
| borgEasy |
javascript |
| jsonSortBy2Properties(data,properties,ascDesc) |
| input |
description |
| data |
| json object - data to be sorted |
|
| properties |
| json object |
| list of p1 and p2 named columms containing the column names
|
| out of data according to which data has to be sorted |
| e.g.: [{"p1": "colName1","p2": "colName2"}] |
|
| ascDesc |
| either desc for descending or anything else for ascending sorted data |
|
|