Added support for sorting associative arrays by keys or values (from Mr.Stalin)

This commit is contained in:
NovaRain
2019-01-07 15:13:22 +08:00
parent 5611931063
commit 4f48926105
3 changed files with 69 additions and 19 deletions
+1
View File
@@ -169,6 +169,7 @@ Example:
- if used on list, "key" must be numeric and within valid index range (0..size-1)
- if used on map, key can be of any type
- to "unset" a value from map, just set it to zero (0)
- NOTE: to add a value of 0 for the key, use the float value (0.0)
- this works exactly like statement:
arrayID[key] := value;