clarify sorting arrays