version_sorter 2.1.0
Enable sorting arrays of arbitrary objects by providing a block that maps them to string value:
VersionSorter.sort(tags) { |tag| tag.name }
Enable sorting arrays of arbitrary objects by providing a block that maps them to string value:
VersionSorter.sort(tags) { |tag| tag.name }