Sort Dataset Items
Try for free
No credit card required
View all Actors![Sort Dataset Items](https://apify.com/img/store/actor_picture.svg)
Sort Dataset Items
lukaskrivka/sort-dataset-items
Try for free
No credit card required
Add this actor as a webhook to your scraper to sort the dataset by index field
Dataset items are immutable but this actor will create a new dataset with ordered items. This is useful if you need to keep the same order as your Start URLs.
- Make sure that items from your scraper in your original dataset have an
index
property, e.g.
1{ 2 index: 1, 3 price: 2.35, 4 title: 'my product', 5 // your other data 6}
- Add this actor as a webhook to your scraper. URL: https://api.apify.com/v2/acts/lukaskrivka~sort-dataset-items/runs?token=YOUR_TOKEN (replace with your real token)
- After your scraper finishes, it will automatically launch this actor. Once this actor finishes, it will produce dataset with sorted items.
Memory
If you need to sort large dataset, you might need to increase memory of this actor. You can change default memory by making it into a task.
Developer
Maintained by Community
Actor metrics
- 3 monthly users
- 2 stars
- Created in May 2022
- Modified 12 months ago
Categories