changes to reflect projActive now being called active.
mods to code and tests - functions to do custom querying and sorting of results from db.