Added missing `defined()`. Qualified `order[]` with const.