fieldsInOrder - try to rearrange class fields in source order; TODO: optimize