This is a simple plugin to a Class::DBI subclass which provides a 'retrieve_all_sorted_by' method.