implement comparable of Route and add smarterfilter of the algorithm