Multiple sort orders

I want to sort by two columns

1 Like

You can call orderBy(..) multiple times for this. Here’s an example:

const books = useQuery(query('books').orderBy('authorName').orderBy('createdAt')
1 Like