Sore iliacus muscle (hip flexor muscle)?

Stretch. Hip flexors get tight from sitting. A great hip stretch is the yoga pose "warrior 1". Another safe stretch is to lie on your stomach then flex the knee, bringing your heel towards your hip. Otc anti inflammatory meds can help. See an orhopaedist if you experience snapping or clicking in your hip.