Skip to main content
Tweeted twitter.com/StackMma/status/668208648548655104
Routine clean-up
Source Link
m_goldberg
  • 108.1k
  • 16
  • 104
  • 259

How can I order a list to match the order of anoter list ?

For example if: Suppose I have the lists x = {3, 1, 5, 7}x = {3, 1, 5, 7} and y = {3, 7, 1, 5} howy = {3, 7, 1, 5}. How can I order xx to have the order of y y?

This question is interesting ifwhen each element of xx has composite values, for example, as a list or an association.

How can I order a list to match the order of anoter list ?

For example if I have lists x = {3, 1, 5, 7} and y = {3, 7, 1, 5} how can I order x to have the order of y ?

This question is interesting if each element of x has composite values for example as a list or an association.

How can I order a list to match the order of anoter list ?

For example: Suppose I have the lists x = {3, 1, 5, 7} and y = {3, 7, 1, 5}. How can I order x to have the order of y?

This question is interesting when each element of x has composite values, for example, as a list or an association.

Source Link
faysou
  • 11k
  • 3
  • 50
  • 131

How to order a list to match the order of another list?

How can I order a list to match the order of anoter list ?

For example if I have lists x = {3, 1, 5, 7} and y = {3, 7, 1, 5} how can I order x to have the order of y ?

This question is interesting if each element of x has composite values for example as a list or an association.