Patentcenter’s “sort by patent number” does not work correctly

click to enlarge

The coders who designed the Patentcenter workbench made a mistake in the “sort by patent number” function.  This is listserv trouble ticket number CP33.The way I encountered this mistake by the Patentcenter coders is that I had hoped to generate a list of the most recent three issued US utility patents that we obtained in our work for a particular foreign patent firm.  This is a search that works correctly in PAIR but it is broken in Patentcenter.

The first step is to log in at Patentcenter and then set up a filter for all “issued” cases for which our docket number “starts with” a particular character string.  (The character string is indicative of the particular foreign patent firm.)  

The next step is to make the “patent number” column visible, which one accomplishes by scrolling to the far right, clicking the three little dots, and checking a box to turn on the “patent number” column.

What remains is to click on the “patent number” column heading to sort the workbench by that column.

I clicked once, and the column got sorted so that the topmost patent was from many years ago.  I figured that this meant I had somehow sorted by “ascending” numerical order, from smallest patent number to biggest.  So it was clear the next thing for me to do is to click the column heading again.  This should sort by “descending” numerical order, from biggest patent number to smallest.  What I would then see on the first row is the most recently issued utility patent.  On the second row would be the second-most-recently-issued utility patent.

Except not.  Look at the screen shot above.  The topmost patent is one that issued in May of 2019.  Oddly then the patent numbers get bigger, row by row, and in the fifth row is the most recently issued utility patent, a patent that issued June 3, 2020.  But then what shows up on the screen is … a patent that issued in 2002.  

Eventually I realized what mistake the USPTO programmer had made.  The programmer failed to sort the patent numbers numerically, but instead sorted them as if they were ASCII character strings, alphabetically.  On this programming mistake, patent number 10691852 is considered to be “smaller” than patent number 5829104 because in the ASCII character set, “1” comes before “5”.  

The programmer probably fell into this mistake because some US patent numbers contain non-digits.  US Design patents, for example, have a “D” or a “DE” or a “Des” in the patent number depending on how you choose to write it.  US reissue patents have a “RE” in the patent number.  

A competent coder would have any of several approaches available to fix this, depending upon the programming language being used.  In many modern-day languages the elegant approach would be to do the sorting not on the visually rendered patent number but on the output of some function that takes as its input the visually rendered patent number.  The function might be as simple as a regular expression or might be some very simple padding with some “leading zeroes” as needed so that all patent numbers of a particular patent type always have the same number of numerical digits when sorted.  

2 Replies to “Patentcenter’s “sort by patent number” does not work correctly”

  1. Workbench also does not have the same default fields that I am used to in the PAIR system. I wanted to sort on filing date, but there was no column for that, and I did not see a way to customize what columns appear in the workbench. Perhaps this is something easy to reconfigure and I just have not used patentcenter enough to recognize the right menu to select the fields displayed in the workbench.

Leave a Reply

Your email address will not be published. Required fields are marked *