add is_sorted tests and optimize sorting suite#1167
Draft
srinjoy933 wants to merge 2 commits into
Draft
Conversation
14NGiestas
reviewed
May 7, 2026
| default integer parameters, `int_index` and `int_index_low`, and four overloaded | ||
| subroutines: `ORD_SORT`, `SORT`, `RADIX_SORT` and `SORT_INDEX`. The | ||
| overloaded subroutines also each have several specific names for | ||
| default integer parameters, `int_index` and `int_index_low`, and five overloaded |
Member
There was a problem hiding this comment.
Suggested change
| default integer parameters, `int_index` and `int_index_low`, and five overloaded | |
| The module `stdlib_sorting` defines several public entities, two | |
| default integer parameters, `int_index` and `int_index_low`, and five overloaded |
14NGiestas
reviewed
May 7, 2026
| ! Sort a_data based on the sorting of that component | ||
| a_data(:) = a_data( index(1:size(a_data)) ) | ||
| end subroutine sort_a_data | ||
| #### `is_sorted` - checks if an input array is sorted |
Member
There was a problem hiding this comment.
Suggested change
| #### `is_sorted` - checks if an input array is sorted | |
| ``` | |
| #### `is_sorted` - checks if an input array is sorted |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
solve #1166