I have a list of values. I have a dataframe where one of the columns contains the same values. How do I order dataframe same way list is ordered?
list example:
[3,
 4,
...
 21,
 23,
 25,
 26]
dataframe example:
     0   1    2
0   ND   3  0/1
1   ND   4  0/1
...
11  ND  21  0/1
12  ND  23  0/1
13  ND  25  0/1
14  ND  26  0/1
I need to make sure that table is ordered according to the list. Column I need to match is column 1 in the dataframe.
EDIT: replaced sort with order, because sort word is probably misleading
 
     
     
    