I checked with team and there haven’t been any changes that would impact .sort
, which is applied on returned fields per the documentation:
Any value returned can be sorted in ascending or descending order, by adding an additional property to a field value.
Maybe the sort is on one of the period
fields in the query you posted – ? the BS Compare template uses this: https://api.xbrl.us/api/v1/fact/search?report.id=22860,22861,22862&fact.ultimus=1&concept.local-name=DocumentPeriodEndDate&fact.has-dimensions=false&fields=period.fiscal-period,period.fiscal-year,report.id.sort(DESC)