WIP-Reversed the Data Array to simplify selection code

Needs testing