update: Added order_by function, fixed filter_by

* Added order_by function which reorders the tasks in the tasklist and
  returns a new Tasks object with the new ordering

* Fixed a bug in filter_by which caused the function to return a list
  instead of a new Tasks object