Refactored document_group_ordering.js to use constructor style and camel naming scheme