Sort field names whenever using Class.getDeclaredFields()

This preserves ordering of fields coming out of the proto generator
without doing a global ordering, which doesn't play well with columns
belonging to nested fields in SQL.

Change-Id: I4dc9822ff7552450e8e13bd6abd9719dbf7de1a9
3 files changed