{"action":"created","issue":{"url":"https://api.github.com/repos/angular-ui/ui-grid/issues/1393","labels_url":"https://api.github.com/repos/angular-ui/ui-grid/issues/1393/labels{/name}","comments_url":"https://api.github.com/repos/angular-ui/ui-grid/issues/1393/comments","events_url":"https://api.github.com/repos/angular-ui/ui-grid/issues/1393/events","html_url":"https://github.com/angular-ui/ui-grid/issues/1393","id":39940207,"number":1393,"title":"Sorting does not work","user":{"login":"Pitel","id":113248,"avatar_url":"https://avatars.githubusercontent.com/u/113248?v=3","gravatar_id":"","url":"https://api.github.com/users/Pitel","html_url":"https://github.com/Pitel","followers_url":"https://api.github.com/users/Pitel/followers","following_url":"https://api.github.com/users/Pitel/following{/other_user}","gists_url":"https://api.github.com/users/Pitel/gists{/gist_id}","starred_url":"https://api.github.com/users/Pitel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Pitel/subscriptions","organizations_url":"https://api.github.com/users/Pitel/orgs","repos_url":"https://api.github.com/users/Pitel/repos","events_url":"https://api.github.com/users/Pitel/events{/privacy}","received_events_url":"https://api.github.com/users/Pitel/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2014-08-11T09:08:17Z","updated_at":"2015-08-06T21:44:47Z","closed_at":"2014-08-11T17:12:43Z","body":"Both example grid on home page and tutorial example http://ui-grid.info/docs/#/tutorial/102_sorting does not work. Clicking on grid hgeader changes the caret, but the content of the table remains the same.\r\n\r\nChrome 38-dev. This appears in console:\r\n```\r\nError: No sorting function found for type:undefined\r\n    at Object.guessSortFn (http://ui-grid.info/release/ui-grid-unstable.js:5985:15)\r\n    at Object.getSortFn (http://ui-grid.info/release/ui-grid-unstable.js:6088:26)\r\n    at rowSortFn (http://ui-grid.info/release/ui-grid-unstable.js:6175:28)\r\n    at Array.sort (native)\r\n    at Object.rowSorterSort [as sort] (http://ui-grid.info/release/ui-grid-unstable.js:6165:17)\r\n    at Grid.sortByColumn (http://ui-grid.info/release/ui-grid-unstable.js:3944:22)\r\n    at startProcessor (http://ui-grid.info/release/ui-grid-unstable.js:3526:33)\r\n    at handleProcessedRows (http://ui-grid.info/release/ui-grid-unstable.js:3542:20)\r\n    at wrappedCallback (http://ajax.googleapis.com/ajax/libs/angularjs/1.2.14/angular.js:11046:81)\r\n    at wrappedCallback (http://ajax.googleapis.com/ajax/libs/angularjs/1.2.14/angular.js:11046:81) angular.js:9509(anonymous function) angular.js:9509(anonymous function) angular.js:6950wrappedCallback angular.js:11049wrappedCallback angular.js:11046(anonymous function) angular.js:11132Scope.$eval angular.js:12075Scope.$digest angular.js:11903(anonymous function) angular.js:12113completeOutstandingRequest angular.js:4193(anonymous function) angular.js:4494\r\n```"},"comment":{"url":"https://api.github.com/repos/angular-ui/ui-grid/issues/comments/128518453","html_url":"https://github.com/angular-ui/ui-grid/issues/1393#issuecomment-128518453","issue_url":"https://api.github.com/repos/angular-ui/ui-grid/issues/1393","id":128518453,"user":{"login":"aharonkoss","id":8917476,"avatar_url":"https://avatars.githubusercontent.com/u/8917476?v=3","gravatar_id":"","url":"https://api.github.com/users/aharonkoss","html_url":"https://github.com/aharonkoss","followers_url":"https://api.github.com/users/aharonkoss/followers","following_url":"https://api.github.com/users/aharonkoss/following{/other_user}","gists_url":"https://api.github.com/users/aharonkoss/gists{/gist_id}","starred_url":"https://api.github.com/users/aharonkoss/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aharonkoss/subscriptions","organizations_url":"https://api.github.com/users/aharonkoss/orgs","repos_url":"https://api.github.com/users/aharonkoss/repos","events_url":"https://api.github.com/users/aharonkoss/events{/privacy}","received_events_url":"https://api.github.com/users/aharonkoss/received_events","type":"User","site_admin":false},"created_at":"2015-08-06T21:44:47Z","updated_at":"2015-08-06T21:44:47Z","body":"Actually there is no issue here. After reviewing the Grid Options API (http://ui-grid.info/docs/#/api/ui.grid.class:GridOptions.columnDef), all columns are assumed alpha numeric unless you set the \"type\" property to number or numberStr. See example below:\r\n{ name: \"timeInStage\", displayName: 'Time in Stage', enableSorting: true, headerCellClass: 'mpncustomheader', width: 120, cellClass: 'mpncenter', type: 'number', cellTooltip: true }\r\n"}}