added merge dataset + sort charts functionality