+++ # ----------------------------------------------------------------------- # Do not edit this file. It is automatically generated by API Documenter. # ----------------------------------------------------------------------- title = "sortThresholds" keywords = ["grafana","documentation","sdk","@grafana/data"] type = "docs" +++ ## sortThresholds() function ### sortThresholds() function Sorts the thresholds Signature ```typescript export declare function sortThresholds(thresholds: Threshold[]): Threshold[]; ``` Import ```typescript import { sortThresholds } from '@grafana/data'; ``` Parameters | Parameter | Type | Description | | --- | --- | --- | | thresholds | Threshold[] | | Returns: `Threshold[]`