Class GGInventorySortingStrategy extends Resource

Implements inventory item sorting by name.

Sorts [GGInventory] items by name.

Extend this class to implement additional sorting strategies. In most cases, it's sufficient to override _sort_callback().

# Members

## The label this sorting strategy will be visible as in the user interface.
var sort_label: String = "Unnamed"

# Methods

## Sort the [param items] using [method Array.sort_custom]) using the [method _sort_callback].
func sort_items(items: Array[GGItemData]) -> void