Make lsCollections test indifferent to array ordering