opscode/chef — pull request #531 by stevendanna (2012-12-12 06:19:18+00:00)
Title: [CHEF-3683] Chef::Node objects should be sortable.

This commit adds a simple <=> method which will allow for Chef::Node
objects to be ordered based on their name. The primary use case is
sorting arrays of nodes for use in templates.