{"action":"opened","issue":{"url":"https://api.github.com/repos/joel-costigliola/assertj-examples/issues/43","repository_url":"https://api.github.com/repos/joel-costigliola/assertj-examples","labels_url":"https://api.github.com/repos/joel-costigliola/assertj-examples/issues/43/labels{/name}","comments_url":"https://api.github.com/repos/joel-costigliola/assertj-examples/issues/43/comments","events_url":"https://api.github.com/repos/joel-costigliola/assertj-examples/issues/43/events","html_url":"https://github.com/joel-costigliola/assertj-examples/issues/43","id":358745776,"node_id":"MDU6SXNzdWUzNTg3NDU3NzY=","number":43,"title":"isSorted() is not working with date ","user":{"login":"siva90144","id":19613704,"node_id":"MDQ6VXNlcjE5NjEzNzA0","avatar_url":"https://avatars3.githubusercontent.com/u/19613704?v=4","gravatar_id":"","url":"https://api.github.com/users/siva90144","html_url":"https://github.com/siva90144","followers_url":"https://api.github.com/users/siva90144/followers","following_url":"https://api.github.com/users/siva90144/following{/other_user}","gists_url":"https://api.github.com/users/siva90144/gists{/gist_id}","starred_url":"https://api.github.com/users/siva90144/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/siva90144/subscriptions","organizations_url":"https://api.github.com/users/siva90144/orgs","repos_url":"https://api.github.com/users/siva90144/repos","events_url":"https://api.github.com/users/siva90144/events{/privacy}","received_events_url":"https://api.github.com/users/siva90144/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-09-10T18:43:14Z","updated_at":"2018-09-10T18:43:14Z","closed_at":null,"author_association":"NONE","body":"Hi,\r\n\r\nI have a scenario as below. \r\narrayList<String> countryList =new arrayList<String>();\r\nI have taken arrayList and added all dates to it . Now I need to verify those are in ascending order or not.\r\n When i used below assert its giving error but actually its not an error.  \r\n assertThat(sortAscending(countryList)).as(\"Ascending Sorted order is: \"+countryList).isSorted();\r\nDates sorted in ascending order(MM/DD/YYYY):\r\n09/08/2017\r\n11/08/2017\r\n12/18/2017\r\n12/28/2017\r\n01/08/2018\r\n02/08/2018\r\n03/08/2018\r\n\r\nit is giving error at below dates \r\n12/28/2017,  01/08/2018\r\n\r\nCan you please help me how to assert date filed with assertJ assertions ?\r\n\r\nAlso how to verify Descending order with assertJ assertions?\r\n"}}
{"actor":{"display_login":"siva90144"}}