Changed @order to order, removed redundant statement

Removed all references to @order, removed redundant if statement, added a data-hook for better customization