Meteor Sorting - Meteor

How meteor sorting is useful?

Data can be sorted once after getting it from the database. In this example we will create Users collection and will use sort argument ({sort: {name: 1}}) for sorting the collection data by name. Number 1 is used for setting ascending order and -1 for descending order.


Data can be sorted by email in the same way.


Finally data can be sorted by joining date.


All rights reserved © 2020 Wisdom IT Services India Pvt. Ltd Protection Status

Meteor Topics