Let the amount sold = \\(s\\) kg. Work backwards from what remains.

\\(\begin{aligned}
\text{After selling} &: 450 - s
\\
\text{Gave 20\% of remainder to neighbours} &: 0.20(450 - s) = 90 - 0.20s
\\
\text{Left} &= (450 - s) - (90 - 0.20s) = 360 - 0.80s
\\
360 - 0.80s &= 180
\\
0.80s &= 180
\\
s &= 225 \text{ kg}
\\
\text{Percentage sold} &= \frac{225}{450} \times 100\% = 50\%
\end{aligned}\\)

Final Answer: 50%