Php order array by number of elements
Consider this simple example array: $letters = [ ['a', 'c', 'f'], ['c', 'f'], ['b', 'd', 'x', 'c', 'f'], ['f'] ]; I need to order the array in descending order by number of letters (or anyway, by the number of elements…