How do you arrange/organize rows in Open Office Excel by the number in the G column?

I want to arrange/organize rows in Open Office Excel by the number in the G column. I need to exclude the first row..