Quote:
|
Originally Posted by macandy
Thanks Dan
still a bit confused as to why copy / paste shuffles the order seems a bit wierd.
|
I believe it has to do with the Model-View-Controller and datasource paradigms.
Let's say you have a Finder window in List View with 200 items in it. Internally in its memory, the Finder has an ordered list of those items called the "Model". The model isn't really visible in the normal sense of the word, but it is used to generate what you see in the Finder window. A Finder window is a "View", or a particular representation of the data in the model. For example, say you have the window set up to sort the list by date modified. What's basically happening is that the Finder takes the information from the model and shows a representation of it to you in a certain way: sorted by date modified. If you click the Date Modified column to reverse the sort order, only the order of how the items are displayed in the view is changed; the internal order of the items in the model remains the same. By having the sorting behavior only affect the displayed representation of the items, the Finder can potentially have more than one representation of the same items. For example, you could have three Finder windows, each open to the same folder in list view, and have each window sorted by different criteria: the first by Name, another by Date Modified, and another by Size.
When you select the items in list view and choose Edit > Copy, what's probably happening is that the Finder is copying the order of the items as they are in the model rather than how they appear to be sorted in the Finder window. The end result when you paste them is that they can often appear to be in random order.
A way to workaround this issue is to first switch the view of the Finder window from List View to Column view. In column view, items can only be listed in one order, alphabetical, so it appears that the Finder will also order the items alphabetically internally in the model.
So, a quick Command-3, Command-C, Command-2 should switch the window to column view, copy the list as you would like, and then switch it back to the way it was. The items should then most likely be pasted alphabetically as you'd expect.
Hope this helps.....