darkterra / mongo-scheduler

Persistent event schedule for node.js using mongo as storage
MIT License
8 stars 8 forks source link

Feature request: sort scheduler.list results by event date. #6

Closed AlexanderProd closed 5 years ago

AlexanderProd commented 5 years ago

Currently scheduler.list() returns the events by the date and time they were added to the db. A nice addition would be to sort them by the schedule time either ascending or descending.

darkterra commented 5 years ago

Very good idea.

This feature will be in the next version :)

darkterra commented 5 years ago

@AlexanderProd, Can you update the pakage (2.1.1-0) and tell me if is working as expected ?

AlexanderProd commented 5 years ago

Sorting works perfectly.