<Tr> <Th> Origin </Th> <Td> Sacrum </Td> </Tr> <Tr> <Th> Insertion </Th> <Td> Greater trochanter </Td> </Tr> <Tr> <Th> Artery </Th> <Td> Inferior gluteal, lateral sacral and superior gluteal artery, </Td> </Tr> <Tr> <Th> Nerve </Th> <Td> Nerve to the piriformis (L5, S1, and S2) </Td> </Tr>

Which of the following is an action of the piriformis