sort Interface

public interface sort

Create overloaded interface for export


Module Procedures

private pure subroutine sort_keys(list, idx, compare)

Entry point for sorting algorithm

Arguments

Type IntentOptional Attributes Name
type(toml_key), intent(inout) :: list(:)

List of TOML keys to be sorted

integer, intent(out), optional :: idx(:)

Optionally, mapping from unsorted list to sorted list

procedure(compare_less), optional :: compare

Function implementing the order relation between two TOML keys