Add collection_sort class.