Having a dedicated priority column inside the tasks table.