Fix for sorting in UI with multiple projects
Fix for sorting in UI with multiple projects