TStringList.Exchange

procedure Exchange(Index1, Index2: Integer) Index1: Index no. 1 Index2: Index no. 2

Description
Exchange will exchange two items in the list. It does not check whether the list is sorted or not; if Exchange is called on a sorted list and the strings are not identical, the sort order of the list will be destroyed.