Sort projects logically