[Overview][Constants][Types][Classes][Index] | Reference for unit 'fgl' (#rtl)

# TFPSMap.Sorted

Is the map permanently sorted on key ?

## Declaration

Source position: fgl.pp line 288

`public property TFPSMap.Sorted : Boolean read FSorted write SetSorted;`

## Description

Sorted can be set to true to keep the map permanently sorted on key value. The sorting happens using TFPSMap.OnKeyPtrCompare.

## See also

TFPSMap.OnKeyPtrCompare |  | Callback to compare 2 keys
TFPSMap.Sort |  | Sort the list according to key
TFPSMap.Duplicates |  | What to do with duplicate key values

Documentation generated on: May 14 2021