rename function get_directory_settings => get_directory_setting and move sort options to directory title bar