Sort Checker
VerificationEasyVerify if a series of elements is sorted in ascending/descending order and check strict uniqueness.
Alt+Shift+5
Sort Validation Panel
1
2
3
4
5
6
7
8
Example Test Cases
Non-strict Ascending Check
Input 1:asc;false;1 3 5 5 7 10
Output:Sorted (duplicates allowed)
Load Case
Strict Ascending Mismatch
Input 1:asc;true;1 3 5 5 7 10
Output:Mismatch at Index 4 (5 is not strictly greater than 5)
Load Case
Strict Descending Check
Input 1:desc;true;10 8 5 3 1
Output:Sorted
Load Case
Complexity Specs
Time ComplexityO(N)
Space ComplexityO(1)
Notes & Tips
- Numbers are parsed as floats dynamically for checking math sorted orders.
- Alphabetic character/string comparisons serve as backup when text arrays are checked.
- First wrong index is shown in 1-based index offset coordinates.