README.md in json_api_client-1.2.0 vs README.md in json_api_client-1.3.0
- old
+ new
@@ -219,16 +219,16 @@
[See specification](http://jsonapi.org/format/#fetching-sorting)
```ruby
# makes request to /people?sort=age
-youngest = Person.sort(:age).all
+youngest = Person.order(:age).all
# also makes request to /people?sort=age
-youngest = Person.sort(age: :asc).all
+youngest = Person.order(age: :asc).all
# makes request to /people?sort=-age
-oldest = Person.sort(age: :desc).all
+oldest = Person.order(age: :desc).all
```
## Paginating
[See specification](http://jsonapi.org/format/#fetching-pagination)