Supply: Sorting the results of a search

Modified on Wed, 13 Sep, 2023 at 11:57 AM

You can sort by attributes, either ascending or descending, when searching. For example:

query SupSearch {
  supSearch(q: "LM33", sort: "maxoutputvoltage", sortDir: desc) {
    hits
    results {
      part {
        mpn
        specs {
          attribute { shortname }
          displayValue
        }
      }
    }      
  }
}


The list of attributes you can sort by is available here.

Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article