ordering by project on history page