Implement numerical sorting for IP address attributes

XMLWordPrintable

    • 1

      Problem Definition :

      In new asset architecture, IP addresses attributes are sorting as plain string values. This results in lexicographical sorting rather than numerical sorting.

      For Example : 

      10.10.10.2
      10.10.10.100
      10.10.10.20

      Here, 10.10.10.100 appears before 10.10.10.20 which is not intuitive for users. This causes difficulty in locating specific IP address. Reducing usability when working with large object lists.

      Suggested Solution: 

      IP Addresses should be sorted numerically based on each octet of the address. Which will ensure that the order reflects the actual numerical values of the IPs.

      The correct sorting of above example should look like below:

      10.10.10.2
      10.10.10.20
      10.10.10.100

      Workaround : 

      No workaround 

            Assignee:
            Unassigned
            Reporter:
            Yuti Kavathia
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: