Added Collection::sort() method