added compareTo to FieldWritable
Merge branch 'dev'