refs #12 Support tasks sorting

TODO:
  - Add position property and use it for sorting
  - Reject a doing task from sorting candidates