compareTo(Path) instead of compareTo(Object)