{"action":"created","issue":{"url":"https://api.github.com/repos/gcanti/tcomb-form/issues/209","labels_url":"https://api.github.com/repos/gcanti/tcomb-form/issues/209/labels{/name}","comments_url":"https://api.github.com/repos/gcanti/tcomb-form/issues/209/comments","events_url":"https://api.github.com/repos/gcanti/tcomb-form/issues/209/events","html_url":"https://github.com/gcanti/tcomb-form/issues/209","id":107784663,"number":209,"title":"select options w/ numerical values represented as string","user":{"login":"benmonro","id":399236,"avatar_url":"https://avatars.githubusercontent.com/u/399236?v=3","gravatar_id":"","url":"https://api.github.com/users/benmonro","html_url":"https://github.com/benmonro","followers_url":"https://api.github.com/users/benmonro/followers","following_url":"https://api.github.com/users/benmonro/following{/other_user}","gists_url":"https://api.github.com/users/benmonro/gists{/gist_id}","starred_url":"https://api.github.com/users/benmonro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/benmonro/subscriptions","organizations_url":"https://api.github.com/users/benmonro/orgs","repos_url":"https://api.github.com/users/benmonro/repos","events_url":"https://api.github.com/users/benmonro/events{/privacy}","received_events_url":"https://api.github.com/users/benmonro/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-09-22T19:34:03Z","updated_at":"2015-09-23T02:54:14Z","closed_at":null,"body":"I have in my form a select box for a list of time zones.  The timezones are represented in our code using an array of arrays in order to ensure the order of the timezones is properly displayed.\r\n\r\n```\r\ntimeZones = [\r\n    ['', '--'],\r\n    ['20', '(UTC-12:00) International Date Line West'],\r\n    ['56', '(UTC+13:00) Samoa'],\r\n    ['34', '(UTC-10:00) Hawaii'],\r\n    ['1', '(UTC-09:00) Alaska'],\r\n    ['50', '(UTC-08:00) Pacific Time (US & Canada)'],\r\n    ['41', '(UTC-07:00) Mountain Time (US & Canada)']\r\n];\r\n\r\n```\r\n\r\nIt seems that t.enums expects things to be in a map format.  However when I convert this array into a map, the order of the options is then sorted by the numerical value.  Is there a way to work around this so that the order is preserved?"},"comment":{"url":"https://api.github.com/repos/gcanti/tcomb-form/issues/comments/142476434","html_url":"https://github.com/gcanti/tcomb-form/issues/209#issuecomment-142476434","issue_url":"https://api.github.com/repos/gcanti/tcomb-form/issues/209","id":142476434,"user":{"login":"benmonro","id":399236,"avatar_url":"https://avatars.githubusercontent.com/u/399236?v=3","gravatar_id":"","url":"https://api.github.com/users/benmonro","html_url":"https://github.com/benmonro","followers_url":"https://api.github.com/users/benmonro/followers","following_url":"https://api.github.com/users/benmonro/following{/other_user}","gists_url":"https://api.github.com/users/benmonro/gists{/gist_id}","starred_url":"https://api.github.com/users/benmonro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/benmonro/subscriptions","organizations_url":"https://api.github.com/users/benmonro/orgs","repos_url":"https://api.github.com/users/benmonro/repos","events_url":"https://api.github.com/users/benmonro/events{/privacy}","received_events_url":"https://api.github.com/users/benmonro/received_events","type":"User","site_admin":false},"created_at":"2015-09-23T02:54:14Z","updated_at":"2015-09-23T02:54:14Z","body":"My work around was to prepend the keys with 'tz' and then add a transformer to the field. Not the best solution. Are there any other options?"}}