Sorting algorithms to work with hash maps
Create overloaded interface for export
Entry point for sorting algorithm
Type | Intent | Optional | 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 |
Define order relation between two TOML keys
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(toml_key), | intent(in) | :: | lhs |
Left hand side TOML key in comparison |
||
type(toml_key), | intent(in) | :: | rhs |
Right hand side TOML key in comparison |
Comparison result