Do all the sorting and filtering logic even if from an Analysis Project

This change is pursuant to RT#98634.