Reordered lists and dataframes