Standard Resource
  • Introduction
  • Read Me
  • Introduction
    • Motivation
    • Core Concepts
  • Store
    • Creating a Store
  • Resources
    • Resource Data
    • Creating
    • Retrieving
    • Updating
    • Deleting
    • Using Computed Attributes
    • Schemas
  • Groups
    • Creating
    • Retrieving
    • Updating
    • Deleting
    • Sorted Groups
  • API Reference
    • createResourceStore
    • Store
  • Glossary
  • Changelog
Powered by GitBook
On this page
  1. Groups

Sorted Groups

PreviousDeletingNextAPI Reference

Last updated 7 years ago

To keep a group sorted, you must manually sort the group outside of the store and then use to replace the existing group with the new, sorted version of the group.

store.update('favoriteBooks', sortedFavoriteBooks);
store.update()