{"action":"created","issue":{"url":"https://api.github.com/repos/processing/processing-docs/issues/402","repository_url":"https://api.github.com/repos/processing/processing-docs","labels_url":"https://api.github.com/repos/processing/processing-docs/issues/402/labels{/name}","comments_url":"https://api.github.com/repos/processing/processing-docs/issues/402/comments","events_url":"https://api.github.com/repos/processing/processing-docs/issues/402/events","html_url":"https://github.com/processing/processing-docs/issues/402","id":140516558,"number":402,"title":"Some useful Table methods not documented in reference","user":{"login":"jwoLondon","id":1846999,"avatar_url":"https://avatars.githubusercontent.com/u/1846999?v=3","gravatar_id":"","url":"https://api.github.com/users/jwoLondon","html_url":"https://github.com/jwoLondon","followers_url":"https://api.github.com/users/jwoLondon/followers","following_url":"https://api.github.com/users/jwoLondon/following{/other_user}","gists_url":"https://api.github.com/users/jwoLondon/gists{/gist_id}","starred_url":"https://api.github.com/users/jwoLondon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jwoLondon/subscriptions","organizations_url":"https://api.github.com/users/jwoLondon/orgs","repos_url":"https://api.github.com/users/jwoLondon/repos","events_url":"https://api.github.com/users/jwoLondon/events{/privacy}","received_events_url":"https://api.github.com/users/jwoLondon/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2016-03-13T19:06:50Z","updated_at":"2016-03-17T17:21:37Z","closed_at":null,"body":"There are some useful methods in the Table class that, looking at the source code, appear to be available, but are not mentioned in the [reference pages for Table](https://processing.org/reference/Table.html).\r\n\r\nIn particular `sort()` and `sortReverse()`, and associated with this for sorting rows by numeric value, `setColumnType()`.\r\n\r\nAlso useful is the ability to return entire columns as arrays, which is mentioned in the reference for  [getStringColumn()](https://processing.org/reference/Table_getStringColumn_.html), but not `getIntColumn()` or `getFloatColumn()`.\r\n\r\nI mention these because I have found them useful for teaching beginners who wish to manipulate tables and are not used to browsing source code or full Java API docs. I had also previously been writing my own table sorting code in Java, not realising the functionality was already there but undocumented.\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/processing/processing-docs/issues/comments/197984406","html_url":"https://github.com/processing/processing-docs/issues/402#issuecomment-197984406","issue_url":"https://api.github.com/repos/processing/processing-docs/issues/402","id":197984406,"user":{"login":"REAS","id":677774,"avatar_url":"https://avatars.githubusercontent.com/u/677774?v=3","gravatar_id":"","url":"https://api.github.com/users/REAS","html_url":"https://github.com/REAS","followers_url":"https://api.github.com/users/REAS/followers","following_url":"https://api.github.com/users/REAS/following{/other_user}","gists_url":"https://api.github.com/users/REAS/gists{/gist_id}","starred_url":"https://api.github.com/users/REAS/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/REAS/subscriptions","organizations_url":"https://api.github.com/users/REAS/orgs","repos_url":"https://api.github.com/users/REAS/repos","events_url":"https://api.github.com/users/REAS/events{/privacy}","received_events_url":"https://api.github.com/users/REAS/received_events","type":"User","site_admin":false},"created_at":"2016-03-17T17:21:37Z","updated_at":"2016-03-17T17:21:37Z","body":"@benfry What do you think about adding `sort()` to the `Table` class documentation on the site?"}}