adding reordering of lists to db