don't unnecessarily call indexOf on unordered array

Enyo-DCO-1.1-Signed-Off-By: Cole Davis (cole.davis@lge.com)