updated the way projects are ordered on index page
updated project order to be a method to DRY up code