Check whether priority is in the whitelist
Sort priorities
Show tasks with table