Test case for #11
Add code_number field and method to read it

Fixes #11
Migration for adding code_number, and populating it on migrate
Merge pull request #30 from NESCent/fix_code_sort

Correct sorting of variable codes when numeric