re-render sidebar after sort