What is this?

This knowledgebase contains questions and answers about PRTG Network Monitor and network monitoring in general.

Learn more

PRTG Network Monitor

Intuitive to Use. Easy to manage.
More than 500,000 users rely on Paessler PRTG every day. Find out how you can reduce cost, increase QoS and ease planning, as well.

Free Download

Top Tags

View all Tags

sortby incorrectly sorts objid alphabetically not numerically



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://kb.paessler.com/en/topic/31273-order-by-number

And invalidates the answer here when you have more than 9999 objects: https://kb.paessler.com/en/topic/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)

api bug sortby

Created on Jan 29, 2019 3:16:56 AM

1 Reply



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,


Created on Jan 29, 2019 7:32:58 AM by  Erhard Mikulik [Paessler Support]

Last change on Jan 29, 2019 7:37:56 AM by  Erhard Mikulik [Paessler Support]

Disclaimer: The information in the Paessler Knowledge Base comes without warranty of any kind. Use at your own risk. Before applying any instructions please exercise proper system administrator housekeeping. You must make sure that a proper backup of all your data is available.