added sorting for project.rb to have documents sorted by title in ascending order