Sorting in filtered library activity