use array instead of ordered set
Merge pull request #568 from amro/fix_mac_selector_order

use array instead of ordered set