How can I query Tasks in the order of their related User Stories on the Backlog?
<p>We are using the Agile process template in <a href="https://www.visualstudio.com/en-us/products/visual-studio-team-services-vs.aspx" rel="nofollow noreferrer">Visual Studio Team Services</a> and prioritize User Stories on the Backlog. We are not explicitly prioritizing Tasks but rather, work on them based on the order of the User Story that is their Parent in the Backlog (drill down to the Task through the User Story on the Backlog).</p>

<p>I would like to make a query available to developers which is focused on Tasks that are assigned to them but ordered by the User Story on the Backlog with which they are associated. It is intended for use in the My Work pane of the Team Explorer in Visual Studio where I found that only the top level of direct link and tree queries are returned - not the child items.</p>

<p><a href="https://i.stack.imgur.com/RU3BV.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/RU3BV.jpg" alt="enter image description here"></a></p>

<p>Filtering based on linked Work Items is well supported but I have not so far found any means of sorting by linked Work Items. Note the Stack Rank field in the 'Filters for linked work items' region in the screenshot below this filters and does not sort which is what I am after.</p>

<p><a href="https://i.stack.imgur.com/NZ4th.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/NZ4th.jpg" alt="Screenshot of work item query definition."></a></p>