{"action":"opened","issue":{"url":"https://api.github.com/repos/tierneyn/visdat/issues/10","repository_url":"https://api.github.com/repos/tierneyn/visdat","labels_url":"https://api.github.com/repos/tierneyn/visdat/issues/10/labels{/name}","comments_url":"https://api.github.com/repos/tierneyn/visdat/issues/10/comments","events_url":"https://api.github.com/repos/tierneyn/visdat/issues/10/events","html_url":"https://github.com/tierneyn/visdat/issues/10","id":137127953,"number":10,"title":"vis_miss sort_miss = F still changes the order ","user":{"login":"ivanhanigan","id":1305767,"avatar_url":"https://avatars.githubusercontent.com/u/1305767?v=3","gravatar_id":"","url":"https://api.github.com/users/ivanhanigan","html_url":"https://github.com/ivanhanigan","followers_url":"https://api.github.com/users/ivanhanigan/followers","following_url":"https://api.github.com/users/ivanhanigan/following{/other_user}","gists_url":"https://api.github.com/users/ivanhanigan/gists{/gist_id}","starred_url":"https://api.github.com/users/ivanhanigan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ivanhanigan/subscriptions","organizations_url":"https://api.github.com/users/ivanhanigan/orgs","repos_url":"https://api.github.com/users/ivanhanigan/repos","events_url":"https://api.github.com/users/ivanhanigan/events{/privacy}","received_events_url":"https://api.github.com/users/ivanhanigan/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-02-29T02:12:41Z","updated_at":"2016-02-29T02:12:41Z","closed_at":null,"body":"on https://github.com/tierneyn/visdat/blob/master/R/vis_miss.R#L54\r\nsort_miss is F but you `sort(names(x))`... I showed to a colleague and they felt it confusing as they are used to viewing their data in the native order they usually see it in their spreadsheet.\r\nwould you consider something like `if(sort_names == FALSE){ col_order_index <- names(x) } else {col_order_index <- sort(names(x)) }`?"}}