Used a index array to figure it out. No need for a solution!