Hi, Richard. I have a partial understanding of this, I'll tell what I know.Background: keep in mind the distinction between the outline, which holds all of your tasks, projects and folders in a definitive, hierarchical order, and views in which the items may be sorted into some entirely different (manual or programmed) order. The sort entailed in a particular view applies to that view only and does not affect the outline order.
The "Group & Sort" section of view properties affects the view sort but not the outline order. If you right-click a task to bring up the context menu, select Advanced a,d then "sort subtasks" this actually changes the outline order. Note that if you look at a hierarchical view there's a very good chance that you are seeing the tasks displayed in outline order, so you will see the effect of having sorted them. But it's important to understand that you are not sorting a view, you are sorting the outline. The change will be permanent and will affect the outline order across all views.
I am not certain but I think that the command is greyed out if any of the subtasks of the selected task are hidden in the current view. That would be consistent with your Show Completed > Recent filter. If there were any subtasks of the selected item that were *not* recently completed, they would be hidden. As a result, MLO would not necessarily have enough information to know where in the outline the hidden tasks should go when the subtasks get sorted.
One other ambiguous point: My understanding is that "manual sort" in the sort and group box enables a manual sorting, but that this just affects the view order and not the outline order. However a recent thread about cross-platform synching of manual sort suggested that for at least one view (I forget which one) the manual sort gets synched because it actually sorts the outline order. I have not had a chance to actually try this out.
On: Sunday, January 25 2015, Richard C wrote:
[…]Ok - I am confused. When you say 'you will see the effect of having sorted them' - how will this have been done[…]
This is very straightforward, don’t overthink it. In the All Tasks view, select a parent item that has multiple subtasks. Right click on the parent item, select Advanced and then Sort Subtasks. On the “Sorting” popup, select “caption” – Ascending for the first line. It does not matter much what if anything shows in the other three lines. Hit “OK”. The subtasks should immediately jump into alphabetical order. This is not caused by the view you are using. Rather, the subtasks have been actually moved in the outline to a new order that’s alphabetical.
Incidentally, do you know what happens if you use the view Sort button in a hierarchical view. Does it sort the children of each parent into the specified order?
The ‘Sort” in the main view definition sorts the top level of the items being displayed; in a hierarchical view no children are sorted.
If I open up my All tasks view - which is a hierarchical view without any filters or sorting - the Sort Sub-tasks is ungreyed (what one would expect) but if I then apply a Show only those completed in the last 3 days filter, the Sort sub-tasks view is still ungreyed. Whereas, it is greyed in my All tasks (Recent completed) view which appears to have exactly the same set of filtering parameters. Very odd.
I have several excellent explanations of this, following a little experimentation I find that none of them work. So I can conclusively say that I haven’t a clue of what’s going on.
-Dwight
On: Sunday, January 25 2015, Richard C wrote:
[…]Ok - I am confused. When you say 'you will see the effect of having sorted them' - how will this have been done[…]
This is very straightforward, don’t overthink it. In the All Tasks view, select a parent item that has multiple subtasks. Right click on the parent item, select Advanced and then Sort Subtasks. On the “Sorting” popup, select “caption” – Ascending for the first line. It does not matter much what if anything shows in the other three lines. Hit “OK”. The subtasks should immediately jump into alphabetical order. This is not caused by the view you are using. Rather, the subtasks have been actually moved in the outline to a new order that’s alphabetical.
Incidentally, do you know what happens if you use the view Sort button in a hierarchical view. Does it sort the children of each parent into the specified order?
The ‘Sort” in the main view definition sorts the top level of the items being displayed; in a hierarchical view no children are sorted.
If I open up my All tasks view - which is a hierarchical view without any filters or sorting - the Sort Sub-tasks is ungreyed (what one would expect) but if I then apply a Show only those completed in the last 3 days filter, the Sort sub-tasks view is still ungreyed. Whereas, it is greyed in my All tasks (Recent completed) view which appears to have exactly the same set of filtering parameters. Very odd.
I have several excellent explanations of this, following a little experimentation I find that none of them work. So I can conclusively say that I haven’t a clue of what’s going on.
-Dwight