Break it down further. How are you getting all the positive numbers? It sounds silly but this is programming. All that stuff about syntax is just learning the notation. Programming is the art and craft of thinking about problems in a way that the solution lends itself to a programmatical implementation. This is a very simple problem and just telling you what to do won't help you at all.
Why do you want to put them into an order. I didn't ask you to put them in order. I asked you to give me the average value of them.
Here are some numbers:
2 -4 5 -6 -3 3
What's the average value of the positive numbers? Watch yourself answering the question. How did you do it?
So you LOOKED at each number.
You DECIDED if the number was positive or not.
IF it was positive, you ADDED it to the total.
When you had read all the numbers in the row, you then divided the total by the number of positive values you found.