Fixed an issue where fields inside of a section weren't sorted properly