# Ini_DisableSorting

void Ini_DisableSorting (IniText handle);

## Purpose

Disables automatic sorting of the in-memory list. Does not affect the current order of the tag-value pairs in the list.

To reenable automatic sorting, call Ini_Sort.

Effect of Sorting on Performance

If sorting is enabled, the following performance characteristics hold:

- Getting values from the in-memory list is faster.
- If checking for duplicates is enabled (the default), adding values to the in-memory list is faster than it would be for a non-sorted list.
- If checking for duplicates is disabled, adding values to the in-memory list is slower than it would be for a non-sorted list. (See the Ini_SetDuplicateChecking function.)

## Parameters

Input
Name | Type | Description
handle | IniText | A handle returned from Ini_New. It represents the list of in-memory tag/value pairs.

## Return Value

None.