MartinSGill / TodoTxtJs

A Javascript web app implementation of TodoTxt
72 stars 29 forks source link

Support different sort orders #39

Closed MartinSGill closed 11 years ago

MartinSGill commented 11 years ago

Have sort options, instead of just a default one.

johnwin commented 11 years ago

Could you also add sort by date added?

MartinSGill commented 11 years ago

Hmm...

Maybe change the way sorting is done to have a primary and secondary sort.

Primary: attribute Secondary: attribute

Where attribute can be any of: due-date, create-date, priority, none (and other stuff people might want in future).

Thinking aloud: At the moment completed todos always drop to the bottom (before being sorted), is there any situation where you might want them intermingled with uncompleted todos?

johnwin commented 11 years ago

That sounds good.

For me I like that done tasks fall to the bottom of the list but I guess that some users may prefer them to stat in place.