Abiotic factors are non-living things. They are not alive nor they would ever be alive.
Biotic factors are living or once living things.
Therefore:
6. Animals are living. Therefore, they are B, biotic
7. Temperature is non-living. Therefore, it is A, abiotic
8. Air is non-living. Therefore, it is A, abiotic
9. Dead parts were once living. Therefore, it is B, biotic
10. Waste was once living. Therefore, it is B, biotic
11. Waste is non-living. Therefore, it is A, abiotic
12. Rocks are non-living. Therefore, it is A, abiotic
13. Plants are living. Therefore, it is B, biotic
14. Sand is non-living. Therefore, it is A, abiotic
15. Dead organisms were once alive. Therefore, it is B, biotic
16. Light is non-living.Therefore, it is A, abiotic
So then we must order the information given. First, you must know the definitions, then examples, then other things, such as interactions. This might be a bit open, and you could possibility switch them around, but here is how I would order it:
17. 1
18. 4
19. 2
20. 5
21. 3