[fix] development data more restrictive
[refactor] helper function in data model
[refactor] logic in task view now consistent with data model
sorting done in data model and not in task view