LayoutWindow *nw;
nw = layout_new(nullptr, nullptr);
- layout_sort_set(nw, options->file_sort.method, options->file_sort.ascending);
+ layout_sort_set_files(nw, nw->options.file_view_list_sort.method, nw->options.file_view_list_sort.ascend, nw->options.file_view_list_sort.case_sensitive);
layout_set_fd(nw, fd);
return nw;
}