This could be shortened to:

```clj
(sort-by #(.getPath %))
```