I have gait issues due to an accident many years ago resulting in a fractured tib and fib and appalling treatment on the NHS leaving me with a bent tibia (the bend is both forwards and outwards), leg length discrepancy and "snapping hip".
30 years on I was doing competitive karate (which helps keep the "bad" leg strong and flexible) and I was needing cortisone injections to keep going I decided to get it sorted once and for all and after a succession of doctors and physiotherapists and varies diagnoses including trochanteric bursitis, illiotibial band syndrome, suggestion of getting leg broken and re-set etc nothing was improving.
It took a podiatrist and prescription orthotics to sort out my gait and a specialised sports doctor to send me for an MRI to really see what was going on in there... Osteoarthritis in my hip. Treatment? Ibuprofen, glucosamine, omega three supplements and a new hip "when it get unbearable". I'm still hopping along OK and it doesn't seem to be getting any worse.
So, I'd recommend seeing a podiatrist if the problem is in the foot and ankle area. Good luck!