BOOLEAN
CmpSortDriverList(
  IN  PHHIVE Hive,
  IN  HCELL_INDEX ControlSet,
  IN  PLIST_ENTRY DriverListHead
  );

Routine Description:

    Sorts the list of boot drivers by their groups based on the group
    ordering in \CONTROL\SERVICE_GROUP_ORDER:list

    Does NOT do dependency ordering.

Arguments:

    Hive - Supplies the hive control structure for the SYSTEM hive.

    ControlSet - Supplies the HCELL_INDEX of the root of the control set.

    DriverListHead - Supplies a pointer to the head of the list of
            boot drivers to be sorted.

Return Value:

    TRUE - List successfully sorted

    FALSE - List is inconsistent and could not be sorted.