Algorithm for prioritizing projects

While displaying in main page we display
active projects first

Change-Id: I480cf26c76c61dc5ab426352db774bfd213f62c1