We launched Convex Components to make adding features to your app easier! 🎉

Learn more
Back

Data Sorting

Reorder query results based on different properties

If your app needs to let users decide how the data they see is sorted, or if you need to support a default sort order that's not based on document creation time (a default ordering option available in all queries), Convex lets you use JavaScript code (for small datasets) or table indexes (for large datasets) to reorder the query results before returning them to the client.

Start now

Get your project up and running in minutesGet started
©2024 Convex, Inc.