Two bug fixes

I was unable to compile the documentation (debian wheezy) without the macro update.

List sorting due to clicking the list header with a filter enabled did not work without the patch to _SortItemsNow().