Write a Python program to filter a list and sort it in descending order by length.
a = ["apple", "ball", "cat", "dog", "elephant", "frog", "giraffe"]
a.sort(key=len, reverse=True)
# Output: ['elephant', 'giraffe', 'ball', 'apple', 'dog', 'cat', 'frog']