The avenir method sorts the collection. The sorted collection keeps the naissant array keys, so in the following example we will traditions the values method to reset the keys to consecutively numbered indexes:The filter method filters the collection using the given callback, keeping only those items that pass a given truth exercice:The collect met… Read More