Group walls adjacent


i have walls. i want filter and grouping walls adjacent.