Added second layer ordering for fields. 

Addresses issue #909