I got a decent sitting pose with your rig:

What helped me was to push your back-leg–IK–target.L control outward in the X axis. To really solve it would require a more complex rig mechanism for the dog leg, but that’s beyond the scope of this exercise.