unique_list class enables all lists and operations to be ordered