{"action":"closed","issue":{"url":"https://api.github.com/repos/checkstyle/checkstyle/issues/603","labels_url":"https://api.github.com/repos/checkstyle/checkstyle/issues/603/labels{/name}","comments_url":"https://api.github.com/repos/checkstyle/checkstyle/issues/603/comments","events_url":"https://api.github.com/repos/checkstyle/checkstyle/issues/603/events","html_url":"https://github.com/checkstyle/checkstyle/issues/603","id":55720144,"number":603,"title":"Imports lexicographical sorting","user":{"login":"MichalMichalak","id":3244285,"avatar_url":"https://avatars.githubusercontent.com/u/3244285?v=3","gravatar_id":"","url":"https://api.github.com/users/MichalMichalak","html_url":"https://github.com/MichalMichalak","followers_url":"https://api.github.com/users/MichalMichalak/followers","following_url":"https://api.github.com/users/MichalMichalak/following{/other_user}","gists_url":"https://api.github.com/users/MichalMichalak/gists{/gist_id}","starred_url":"https://api.github.com/users/MichalMichalak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MichalMichalak/subscriptions","organizations_url":"https://api.github.com/users/MichalMichalak/orgs","repos_url":"https://api.github.com/users/MichalMichalak/repos","events_url":"https://api.github.com/users/MichalMichalak/events{/privacy}","received_events_url":"https://api.github.com/users/MichalMichalak/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-01-28T06:36:28Z","updated_at":"2015-01-28T06:55:48Z","closed_at":"2015-01-28T06:55:48Z","body":"I am using Intelij Idea 14 and automatic import sorting. My sorted imports looks like below:\r\n```java\r\nimport java.io.BufferedReader;\r\nimport java.io.BufferedWriter;\r\nimport java.io.File;\r\nimport java.io.IOException;\r\nimport java.io.InputStreamReader; // Line 28, warning here\r\nimport java.net.URISyntaxException;\r\nimport java.nio.charset.Charset;\r\nimport java.nio.file.Files;\r\nimport java.nio.file.Paths;\r\n```\r\n\r\nCheckstyle 6.2 says:\r\n```\r\n28: Wrong lexicographical order for 'java.io.InputStreamReader' import.\r\n```\r\n\r\nRule says:\r\n* sorts imports inside each group: ensures that imports within each group are in lexicographic order\r\n* sorts according to case: ensures that the comparison between import is case sensitive\r\n\r\nFor me sorting looks OK. What am I missing here?"}}