/images is not sorted numerically
ZevEisenberg opened this issue · comments
URL: https://picsum.photos/images
Expected order:
0, 1, 2, 3, 4, 5, ... 98, 99, 100, 101, 102, 103, ... 998, 999, 1000, 1001, 1002
Actual order:
0, 1, 10, 100, 1000, 1001, 1002
Guessing this is because the sort that's being used to construct that page isn't a numeric-sensitive sort.
Hi,
Please look at existing closed issues before opening new ones, this is a duplicate of #54.
This is intended, ID's used to be numbers, but now they are strings and are thus intentionally handled as such.
Thanks. I searched old issues, but didn't find that one. I had searched for "sort," and that issue only mentions "order." But when I filed this, I hadn't yet discovered the /list
API endpoint, which is what I should have been using