Say I have two arrays with the same number of elements that are related: var a1 = [1,3,2]; var b2 = ["a","b","c"]; I need to sort a1 but have the order of the elements in b2 reflect the any new order in a1. So if a1 sorts as [1,2,3] then b2 becomes ["a","c","b"] or if a1 sorts as [3,2,1] then b2 becomes ["b","c","a"] Andrew Poulos