The current test for the orderby option use String comparison to check the order of entries, even when ordering by (numeric) result. As a result, it expects the test results to be sorted as:
1, 10, 11, 12, 2, 3, 4, 5, 6, 7, 8, 9
I think that's not what most people would expect when ordering numeric results.
The current test for the orderby option use String comparison to check the order of entries, even when ordering by (numeric) result. As a result, it expects the test results to be sorted as: 1, 10, 11, 12, 2, 3, 4, 5, 6, 7, 8, 9
I think that's not what most people would expect when ordering numeric results.