I'm using the Storage().search
method from the monday.com JavaScript SDK to retrieve stored records. By default, results seem to come back in created-time ascending (i.e. oldest first). I'd like to retrieve results with newest-first ordering instead.
Here’s what I'm working with:
import { Storage } from '@mondaycom/apps-sdk';
const storage = new Storage('<ACCESS_TOKEN>');
const response = await storage.search('someKey');
const { records, cursor, success } = response;
// records appear to be sorted oldest-first by creation time
I checked the official docs for storage.search
, and saw no mention of any parameter like newest_first
or sort
to change the return order Monday Developer.
Has anyone discovered:
-
a hidden parameter (like
newest_first
,order
, or similar), -
a sorting pattern via cursors or pagination,
-
or another clever workaround to fetch newest records first with
storage.search
?
If not supported today, this could make a great feature request—would value any feedback or confirmations.