sortby=objid sorts alphabetically, eg:

1, 11, 140, 2, 20, 3

However, objid is a number so it should sort numerically: 1, 2, 3, 11, 20, 140

This is related to issue: https://helpdesk.paessler.com/en/support/solutions/articles/31273-order-by-number

And invalidates the answer here when you have more than 9999 objects: https://helpdesk.paessler.com/en/support/solutions/articles/673-how-can-i-get-a-list-of-the-most-recently-added-devices (e.g. objid 9999 is treated as more recent than objid 10000)


Article Comments

Hi Alex,

I agree, this sorting does not really make sense. I can confirm that this was already the same in some older PRTG version I have running (17.x) and the sorting is the same, so it seems to be like that for some time now and I'm not sure if this ever really sorted properly. I've added this to an internal list we have about a new PRTG API (no ETA on that). I will also create a bugticket, maybe it can be fixed for the current API as well.

Kind regards,

Erhard


Jan, 2019 - Permalink