Re-order randomized list to the x-direction

hello
hard to say with so few informations. Perhaps this discussion could help