Steps to reproduce the issue:
Check this method:
- There are e2e tests that call this method and do not have any expects inside - so they always pass.
- The checkListIsSorted does an alphanumeric sorting check, but it is used in tests checking for numeric ordering like sort by Size.
- Currently, the checkListIsSorted method always returns true.
- the checkListIsSorted should be used only in the context of only file sorting or only folder sorting - as DL always keeps folders on top - this is not taken into account atm
unreliable e2e tests on document list sorting
Fix the checkListIsSorted method and tests.