int (@NotNull String path1, @NotNull String path2) { int compare1 = compare(filePath(path1), filePath(path2), HierarchicalFilePathComparator.NATURAL); int compare2 = compare(filePath(path2), filePath(path1), HierarchicalFilePathComparator.NATURAL); assert compare1 == -compare2; return compare1; }