PCGAttributeAccessorHelpers::Private::DefaultIndexGetter

Use a lambda to have this code more likely to be inlined in SortByAttribute.