Fix inactive project sorting.