### Sort Query results can also be sorted by one or more fields. For example, to sort all `Post` objects by `rating` in ascending order: import ios1 from "/src/fragments/lib-v1/datastore/ios/data-access/query-sort-snippet.mdx"; import android2 from "/src/fragments/lib-v1/datastore/android/data-access/query-sort-snippet.mdx"; import flutter3 from "/src/fragments/lib-v1/datastore/flutter/data-access/query-sort-snippet.mdx"; To get all `Post` objects sorted first by `rating` in ascending order, and then by `title` in descending order: import ios5 from "/src/fragments/lib-v1/datastore/ios/data-access/query-sort-multiple-snippet.mdx"; import android6 from "/src/fragments/lib-v1/datastore/android/data-access/query-sort-multiple-snippet.mdx"; import flutter7 from "/src/fragments/lib-v1/datastore/flutter/data-access/query-sort-multiple-snippet.mdx";