Added support for a custom ordering class when displaying all fields