change homepage controller and idea.rb, to create a sorted list of criteria statuses.