`$(sort $(...))` is the same as `sort | uniq`. I wasn't sure if the order should be preserved.