[Webkit-unassigned] [Bug 27329] New: Inspector: Properties Should be Sorted more Naturally

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Jul 15 21:35:34 PDT 2009


           Summary: Inspector: Properties Should be Sorted more Naturally
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: All
        OS/Version: Mac OS X 10.5
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: Web Inspector
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: joepeck02 at gmail.com

Properties shown in the console are sorted with the generic Array.sort() which
sorts the properties lexicographically and thus numbers sort as though they
were strings:

 "0" < "11" < "6" < "a0" < "a11" < "a6"

A more natural sort would be the alphanum sort:


  "0" < "6" < "11" < "a0" < "a6" < "a11"

Much nicer when looking at arrays.

Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

More information about the webkit-unassigned mailing list