This function provides a comparison of two paths.
path to compare
path to compare against
is smaller??