Skip to main content
Log inSign up

Shopify uses cookies to provide necessary site functionality and improve your experience. By using our website, you agree to our privacy policy and our cookie policy.

enum

The set of valid sort keys for the File query.

•

Sort by the created_at value.

•

Sort by the filename value.

•

Sort by the id value.

Anchor to ORIGINAL_UPLOAD_SIZEORIGINAL_UPLOAD_SIZE
•

Sort by the original_upload_size value.

•

Sort by relevance to the search terms when the query parameter is specified on the connection. Don't use this sort key when no search query is specified.

•

Sort by the updated_at value.


Was this section helpful?

•
ARGUMENT

Sort the underlying list using a key. If your query is slow or returns an error, then try specifying a sort key that matches the field used in the search.


Was this section helpful?