# Is there an order to placing commands in .htaccess file?

I have to keep the below block at the bottom of my htaccess file or other commands won't work. Why? I didn't think there was any order to commands in the Apache file. Is that right?
# BEGIN WordPress
#NEEDS TO BE AT END OF FILE OR HIDE DEBUG FILE CODE DOESN'T WORK
RewriteEngine On
RewriteBase /
RewriteRule ^index.php\$ – (L)