Sorting a collection of objects in VBA
问题 I'm trying to write a function that would sort a collection of objects. Since the objects are all of the same type (the same user-defined class), their property set is the same. Is it possible to discover the object's properties (through code) so as to put the collection in a bi-dimensional array, each row being for an object, each column for one of its property? Another solution would be to copy each object from the collection to an array of objects, and sort them by one of their property,