docs: def _get_longest(value_lst: List) -> List:
          """
          Get the longest match for overlap
          Args:
              value_lst: List
  
          Returns: List
          """
  
          value_lst.sort()
          result = []
          pivot = value_lst[0]
          start, end = pivot[0], pivot[1]
          pivot_e = end
          pivot_s = start
          for idx, (s, e, v, rule_id, _) in enumerate(value_lst):
              if s == pivot_s and pivot_e < e:
                  pivot_e = e
                  pivot = value_lst[idx]
              elif s != pivot_s and pivot_e < e:
                  result.append(pivot)
                  pivot = value_lst[idx]
                  pivot_e = e
                  pivot_s = s
          result.append(pivot)
          return result