xbmc/xbmc — pull request #1686 by jmarshallnz (2012-10-27 09:01:32+00:00)
Title: Store sorting information for smartplaylists and library nodes

Cosmetically, this allows the sort by label for library nodes and smartplaylist to be specific to the playlist (i.e. if the playlist is sort by date added, then that's what we'll use) rather than displaying the ambiguous "sort by playlist".

It also allows some of the grouping changes that @Montellese has been doing to work a little nicer, as we can re-sort the list after grouping without problems.