import { SeriesIdentifier } from '../common/series_id' ; public export type SeriesCompareFn = ( siA : SeriesIdentifier , siB : SeriesIdentifier ) => number ; const DEFAULT_SORTING_FN = ( ) => 0 ; internal export const getRenderingCompareFn = ( defaultSortFn = DEFAULT_SORTING_FN ) => defaultSortFn ; internal export const getLegendCompareFn = ( defaultSortFn = DEFAULT_SORTING_FN ) => defaultSortFn ; internal export const getTooltipCompareFn = ( defaultSortFn = DEFAULT_SORTING_FN ) => defaultSortFn ;