It's basically a matter of adding an event handler to the GridViewColumnHeader(s). Note that when you see $SelectedItems we are talking about the actual ListView (that's where we bind the Click event).

Ah fooey. That's the second time I did that this week -- that functionality was added to source last month, but for various reasons we didn't get a monthly release out. Anyway. Here's what you have to do in 1.1:

I should note: the whole point here is just: Add a SortDescription (and Refresh the view).

The way people expect for it to work is when they click the column header, so you want to add an event handler to the GridViewColumnHeader's Click event.

It's a little hard to *find* the GridViewColumnHeader(s), so we just set the event handler (for THAT event) on the ListView itself, and since it's a RoutedEvent, it bubbles up and you can handle it there.