{"action":"created","issue":{"url":"https://api.github.com/repos/twotoasters/Toast/issues/70","labels_url":"https://api.github.com/repos/twotoasters/Toast/issues/70/labels{/name}","comments_url":"https://api.github.com/repos/twotoasters/Toast/issues/70/comments","events_url":"https://api.github.com/repos/twotoasters/Toast/issues/70/events","html_url":"https://github.com/twotoasters/Toast/issues/70","id":91056796,"number":70,"title":"Guarantee stability for -twt_groupWithBlock:","user":{"login":"macdrevx","id":205658,"avatar_url":"https://avatars.githubusercontent.com/u/205658?v=3","gravatar_id":"","url":"https://api.github.com/users/macdrevx","html_url":"https://github.com/macdrevx","followers_url":"https://api.github.com/users/macdrevx/followers","following_url":"https://api.github.com/users/macdrevx/following{/other_user}","gists_url":"https://api.github.com/users/macdrevx/gists{/gist_id}","starred_url":"https://api.github.com/users/macdrevx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/macdrevx/subscriptions","organizations_url":"https://api.github.com/users/macdrevx/orgs","repos_url":"https://api.github.com/users/macdrevx/repos","events_url":"https://api.github.com/users/macdrevx/events{/privacy}","received_events_url":"https://api.github.com/users/macdrevx/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-06-25T19:41:14Z","updated_at":"2015-06-30T18:23:29Z","closed_at":null,"body":"Currently, `-twt_groupWithBlock:` returns stable results. Consider the example given in the documentation:\r\n\r\n> Given a collection of [2, 3, 6, 7, 9] and a block that returns the element’s integer value modulo 2, this method will return { 0 : [2, 6], 1 : { [3, 7, 9] } }.\r\n\r\nI propose that the documentation explicitly guarantee that the result will preserve the ordering of elements in each result group relative to their ordering in the receiver (assuming the receiver is an ordered collection). Using the same example, this guarantee would preclude the result `{ 0 : [6, 2], 1 : { [9, 3, 7] } }`."},"comment":{"url":"https://api.github.com/repos/twotoasters/Toast/issues/comments/117290688","html_url":"https://github.com/twotoasters/Toast/issues/70#issuecomment-117290688","issue_url":"https://api.github.com/repos/twotoasters/Toast/issues/70","id":117290688,"user":{"login":"prachigauriar","id":4042148,"avatar_url":"https://avatars.githubusercontent.com/u/4042148?v=3","gravatar_id":"","url":"https://api.github.com/users/prachigauriar","html_url":"https://github.com/prachigauriar","followers_url":"https://api.github.com/users/prachigauriar/followers","following_url":"https://api.github.com/users/prachigauriar/following{/other_user}","gists_url":"https://api.github.com/users/prachigauriar/gists{/gist_id}","starred_url":"https://api.github.com/users/prachigauriar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/prachigauriar/subscriptions","organizations_url":"https://api.github.com/users/prachigauriar/orgs","repos_url":"https://api.github.com/users/prachigauriar/repos","events_url":"https://api.github.com/users/prachigauriar/events{/privacy}","received_events_url":"https://api.github.com/users/prachigauriar/received_events","type":"User","site_admin":false},"created_at":"2015-06-30T18:23:29Z","updated_at":"2015-06-30T18:23:29Z","body":"@macdrevx I think this is fine. Feel free to open a PR."}}