-------------------------------------

OSE (Copy-1)

23

-------------------------------------

Honey

100

-------------------------------------

Ananas

5

-------------------------------------

OSE

23

-------------------------------------

Cheese

2

-------------------------------------

Cheese (Copy-1)

2

-------------------------------------

Test item

0

-------------------------------------

wisdom

0

-------------------------------------

wisdom (Copy-1)

0

-------------------------------------

Milk

-------------------------------------

Chicken Breast

12

-------------------------------------

Ananas (Copy-1)

4

-------------------------------------

Sister

0

-------------------------------------

test

101

NEW
-------------------------------------

Honey

100

after import

Anastasia

Anna

Aurora

Aurora-Anna

Michael

After import Sort by DnDOrder

Michael

Aurora-Anna

Anna

Aurora

Anastasia

Filters after consultation field":"Number","dir":"DESC","field":"Name","dir":"ASC"
-------------------------------------

Milk

-------------------------------------

Chicken Breast

12

-------------------------------------

Honey

100

-------------------------------------

Cheese

2

-------------------------------------

test

101

-------------------------------------

Ananas

5

-------------------------------------

Ananas (Copy-1)

4

-------------------------------------

wisdom

0

-------------------------------------

Sister

0

-------------------------------------

OSE

23

-------------------------------------

OSE (Copy-1)

23

-------------------------------------

Cheese (Copy-1)

2

-------------------------------------

wisdom (Copy-1)

0

-------------------------------------

Test item

0

1. Проверка DESC сортировки

-------------------------------------

Milk

-------------------------------------

Chicken Breast

12

-------------------------------------

Honey

100

-------------------------------------

Cheese

2

-------------------------------------

test

101

-------------------------------------

Ananas

5

-------------------------------------

Ananas (Copy-1)

4

-------------------------------------

wisdom

0

-------------------------------------

Sister

0

-------------------------------------

OSE

23

-------------------------------------

OSE (Copy-1)

23

-------------------------------------

Cheese (Copy-1)

2

-------------------------------------

wisdom (Copy-1)

0

-------------------------------------

Test item

0

Ожидание: 101 → 100 → 23 → 12 → 5 → 4 → 2 → 0 → NULL/пустые в конце

2. Проверка ASC сортировки

-------------------------------------

Milk

-------------------------------------

Chicken Breast

12

-------------------------------------

Honey

100

-------------------------------------

Cheese

2

-------------------------------------

test

101

-------------------------------------

Ananas

5

-------------------------------------

Ananas (Copy-1)

4

-------------------------------------

wisdom

0

-------------------------------------

Sister

0

-------------------------------------

OSE

23

-------------------------------------

OSE (Copy-1)

23

-------------------------------------

Cheese (Copy-1)

2

-------------------------------------

wisdom (Copy-1)

0

-------------------------------------

Test item

0

Ожидание: NULL/пустые → 0 → 2 → 4 → 5 → 12 → 23 → 100 → 101
ИЛИ: 0 → 2 → 4 → 5 → 12 → 23 → 100 → 101 → NULL в конце

3. Элементы с Number = 23

Number: 23 | Name: OSE
Ожидание: OSE должен быть ПЕРЕД OSE (Copy-1) (алфавитный порядок)

4. Элементы с Number = 0

Number: | Name: Milk
Number: 0 | Name: wisdom
Number: 0 | Name: Sister
Ожидание: Sister, Test item, wisdom, wisdom (Copy-1) — в алфавитном порядке

5. Элементы с пустым Number

Name: Milk | Number: [] | Type:
Name: wisdom | Number: [0] | Type: 0
Name: Sister | Number: [0] | Type: 0
Текущее поведение: Milk в начале списка
Правильное: Milk должен быть в конце при DESC

6. Полный анализ всех элементов

Позиция Name Number (значение) Number (тип) Пустое?
1 Milk [] ✅ ПУСТОЕ
2 Chicken Breast [12] 12 ❌ НЕ ПУСТОЕ
3 Honey [100] 100 ❌ НЕ ПУСТОЕ
4 Cheese [2] 2 ❌ НЕ ПУСТОЕ
5 test [101] 101 ❌ НЕ ПУСТОЕ
6 Ananas [5] 5 ❌ НЕ ПУСТОЕ
7 Ananas (Copy-1) [4] 4 ❌ НЕ ПУСТОЕ
8 wisdom [0] 0 ❌ НЕ ПУСТОЕ
9 Sister [0] 0 ❌ НЕ ПУСТОЕ
10 OSE [23] 23 ❌ НЕ ПУСТОЕ

7. Проверка пагинации

Первые 5 элементов:

1. Milk ()
2. Chicken Breast (12)
3. Honey (100)
4. Cheese (2)
5. test (101)

Следующие 5 элементов (offset=5):

6. Milk ()
7. Chicken Breast (12)
8. Honey (100)
9. Cheese (2)
10. test (101)
-------------------------------------

Milk

-------------------------------------

Chicken Breast

12

-------------------------------------

Honey

100

-------------------------------------

Cheese

2

-------------------------------------

test

101

2. Перевірка ASC сортування по releaseDate

-------------------------------------

{
  "Params": {
    "source": "Food Items",
    "layout": "List",
    "object": "collection",
    "collectionvariable": "test_asc123",
    "type": "module"
  },
  "Pagination": {
    "CurrentPage": 1,
    "ItemsPerPage": 10,
    "NumberOfPages": 2,
    "TotalItemsCount": 14
  },
  "Parent": {
    "Id": 3391,
    "Name": "DnD order",
    "Url": "/test/dnd-order",
    "Url_List": [
      "/test/dnd-order"
    ],
    "UrlSlug": "dnd-order",
    "ParentId": 3178,
    "ParentId_List": [
      3178
    ],
    "ParentName": "Test",
    "ParentUrl": "/test",
    "TemplateName": "",
    "Module_Alias": "Page",
    "Module_ID": 1522,
    "Enabled": true,
    "ReleaseDate": "2026-06-24T00:00:00",
    "ExpiryDate": "2099-12-31T00:00:00",
    "SiteSearchKeywords": [],
    "Description": "{% component source: \"Food Items\", layout: \"List\", sortBy: \"DnDOrder\", sortOrder: \"ASC\", limit: \"100\", type: \"module\" %}\n\nNEW\n{% component source: \"Food Items\", layout: \"List\", filterBy: \"DnDOrder\", filterCondition: \"Equally\", filterValue: \"2\", sortBy: \"ExpiryDate\", sortOrder: \"DESC\", type: \"module\" %}\nafter import\n{% component source: \"test after fix\", layout: \"List\", filterBy: \"DnDOrder\", type: \"module\" %}\nAfter import Sort by DnDOrder\n{% component source: \"test after fix\", layout: \"List\", sortBy: \"DnDOrder\", sortOrder: \"ASC\", type: \"module\" %}\n\nFilters after consultation\nfield\":\"Number\",\"dir\":\"DESC\",\"field\":\"Name\",\"dir\":\"ASC\"\n{% component source: \"Food Items\",\nlayout: \"List\",\nlimit: \"20\",\nignoreWeighting: \"true\",\norderBy: '[{\"field\":\"Number\",\"dir\":\"DESC\"},{\"field\":\"Name\",\"dir\":\"ASC\"}]',\ntype: \"module\" %}\n

1. Проверка DESC сортировки

\n{% component source: \"Food Items\",\nlayout: \"List\",\nlimit: \"20\",\nignoreWeighting: \"true\",\norderBy: '[{\"field\":\"Number\",\"dir\":\"DESC\"}]',\ntype: \"module\" %}\n\n
\n Ожидание: 101 → 100 → 23 → 12 → 5 → 4 → 2 → 0 → NULL/пустые в конце\n
\n

2. Проверка ASC сортировки

\n{% component source: \"Food Items\",\nlayout: \"List\",\nlimit: \"20\",\nignoreWeighting: \"true\",\norderBy: '[{\"field\":\"Number\",\"dir\":\"ASC\"}]',\ntype: \"module\" %}\n\n
\n Ожидание: NULL/пустые → 0 → 2 → 4 → 5 → 12 → 23 → 100 → 101\n
ИЛИ: 0 → 2 → 4 → 5 → 12 → 23 → 100 → 101 → NULL в конце\n
\n

3. Элементы с Number = 23

\n{% component source: \"Food Items\",\nlayout: "",\ncollectionVariable: \"items\",\nignoreWeighting: \"true\",\norderBy: '[{\"field\":\"Number\",\"dir\":\"DESC\"},{\"field\":\"Name\",\"dir\":\"ASC\"}]',\ntype: \"module\" %}\n\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n
\n Number: 23 | Name: OSE\n
\n \n\n\n
\n Ожидание: OSE должен быть ПЕРЕД OSE (Copy-1) (алфавитный порядок)\n
\n

4. Элементы с Number = 0

\n\n \n
\n Number: | Name: Milk\n
\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n
\n Number: 0 | Name: wisdom\n
\n \n\n \n
\n Number: 0 | Name: Sister\n
\n \n\n \n\n\n
\n Ожидание: Sister, Test item, wisdom, wisdom (Copy-1) — в алфавитном порядке\n
\n

5. Элементы с пустым Number

\n\n \n \n
\n Name: Milk |\n Number: [] |\n Type: \n
\n \n\n \n \n\n \n \n\n \n \n\n \n \n\n \n \n\n \n \n\n \n \n
\n Name: wisdom |\n Number: [0] |\n Type: 0\n
\n \n\n \n \n
\n Name: Sister |\n Number: [0] |\n Type: 0\n
\n \n\n \n \n\n\n
\n Текущее поведение: Milk в начале списка
\n Правильное: Milk должен быть в конце при DESC\n
\n

6. Полный анализ всех элементов

\n\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
ПозицияNameNumber (значение)Number (тип)Пустое?
1Milk[]\n \n ✅ ПУСТОЕ\n
2Chicken Breast[12]12\n \n ❌ НЕ ПУСТОЕ\n
3Honey[100]100\n \n ❌ НЕ ПУСТОЕ\n
4Cheese[2]2\n \n ❌ НЕ ПУСТОЕ\n
5test[101]101\n \n ❌ НЕ ПУСТОЕ\n
6Ananas[5]5\n \n ❌ НЕ ПУСТОЕ\n
7Ananas (Copy-1)[4]4\n \n ❌ НЕ ПУСТОЕ\n
8wisdom[0]0\n \n ❌ НЕ ПУСТОЕ\n
9Sister[0]0\n \n ❌ НЕ ПУСТОЕ\n
10OSE[23]23\n \n ❌ НЕ ПУСТОЕ\n
\n

7. Проверка пагинации

\n\n

Первые 5 элементов:

\n {% component source: \"Food Items\",\n layout: "",\n collectionVariable: \"page1\",\n limit: \"5\",\n offset: \"0\",\n ignoreWeighting: \"true\",\n orderBy: '[{\"field\":\"Number\",\"dir\":\"DESC\"},{\"field\":\"Name\",\"dir\":\"ASC\"}]',\n type: \"module\" %}\n\n \n 1. Milk ()
\n \n 2. Chicken Breast (12)
\n \n 3. Honey (100)
\n \n 4. Cheese (2)
\n \n 5. test (101)
\n \n\n

Следующие 5 элементов (offset=5):

\n {% component source: \"Food Items\",\n layout: "",\n collectionVariable: \"page2\",\n limit: \"5\",\n offset: \"5\",\n ignoreWeighting: \"true\",\n orderBy: '[{\"field\":\"Number\",\"dir\":\"DESC\"},{\"field\":\"Name\",\"dir\":\"ASC\"}]',\n type: \"module\" %}\n\n \n 6. Milk ()
\n \n 7. Chicken Breast (12)
\n \n 8. Honey (100)
\n \n 9. Cheese (2)
\n \n 10. test (101)
\n \n\n\n {% component source: \"Food Items\",\n layout: \"List\",\n limit: \"5\",\n ignoreWeighting: \"true\",\n displayPagination: \"true\",\n orderBy: '[{\"field\":\"Number\",\"dir\":\"DESC\"},{\"field\":\"Name\",\"dir\":\"ASC\"}]',\n type: \"module\" %}\n\n

2. Перевірка ASC сортування по releaseDate

\n {% component source: \"Food Items\", layout: \"List\", object: \"collection\", collectionVariable: \"test_asc123\", type: \"module\" %}\n
test_asc123
\n\n
    \n \n
\n\n\n

✅ Очікуваний порядок: найстаріша дата → найновіша

\n =============\n {% component source: \"Food Items\", layout: \"List\", sortBy: \"Number\", limit: \"20\", sortOrder: \"ASC\", type: \"module\" %}\n ============\n NEW NEW\n {% component source: \"Food Items\", layout: \"List\", limit: \"20\", ignoreWeighting: \"true\", orderBy: '[{\"field\":\"ReleaseDate6\",\"dir\":\"ASC\"},{\"field\":\"Name\",\"d\":\"ASC\"}]', type: \"module\" %}\n =============Example\n {% component source: \"Food Items\", layout: \"List\", limit: \"20\", ignoreWeighting: \"true\", orderBy: '[]', type: \"module\" %}", "Weighting": 0, "DisableForSiteSearch": false, "CreatedByMemberId": "0", "ItemCategories": [], "ItemCategoryIdList": [], "ItemTags": [], "Author": 0, "Author_Name": "", "Author_Url": "", "Item_Rating": 0, "DnDOrder": 2, "ShowPageForSearchEngine": true, "MetaTitle": "", "SEOTitle": "", "MetaDescription": "", "CanonicalLink": "", "SocialMetaTags": "", "SeoPriority": 0.5, "EnableAMP": false, "AMPContent": "", "OpenGraphProperties": { "title": null, "type": null, "url": null, "locale": null, "image": null }, "ExternalId": 0, "Params": {} }, "Items": [ { "Id": 3181, "Name": "Ananas", "Url": "/food-items/ananas", "Url_List": [ "/food-items/ananas" ], "UrlSlug": "ananas", "ParentId": 2988, "ParentId_List": [ -1 ], "ParentName": "", "ParentUrl": "", "TemplateName": "", "Module_Alias": "FoodItems", "Module_ID": 2988, "Enabled": true, "ReleaseDate": "2026-06-19T00:00:00", "ExpiryDate": "2099-12-31T00:00:00", "SiteSearchKeywords": [], "Description": "

1

", "Weighting": 0, "DisableForSiteSearch": false, "CreatedByMemberId": "0", "ItemCategories": [ "Main Category" ], "ItemCategoryIdList": [ 4503 ], "ItemTags": [], "Author": 0, "Author_Name": "", "Author_Url": "", "Item_Rating": 0, "DnDOrder": 3, "Text": "", "Number": 5, "Boolean": false, "DateTime": null, "CRMRecord": "0", "Multiline": "", "RadioList": "", "DataSource": [], "DropdownList": "3", "BestPairedWith": [ { "Id": 3181, "Name": "Ananas", "Url": "/food-items/ananas" } ], "Textnotes_block": "", "TypicalServingSize": "test", "HealthBenefits": "", "FoodGroup": [ "Dairy", "Fat" ], "ShowPageForSearchEngine": true, "MetaTitle": "", "SEOTitle": "", "MetaDescription": "", "CanonicalLink": "", "SocialMetaTags": "", "SeoPriority": 0.5, "EnableAMP": false, "AMPContent": "", "OpenGraphProperties": { "title": null, "type": null, "url": null, "locale": null, "image": null }, "ExternalId": 0, "Params": {} }, { "Id": 3182, "Name": "Ananas (Copy-1)", "Url": "/food-items/ananas-1", "Url_List": [ "/food-items/ananas-1" ], "UrlSlug": "ananas-1", "ParentId": 2988, "ParentId_List": [ -1 ], "ParentName": "", "ParentUrl": "", "TemplateName": "", "Module_Alias": "FoodItems", "Module_ID": 2988, "Enabled": true, "ReleaseDate": "2026-06-19T00:00:00", "ExpiryDate": "2099-12-31T00:00:00", "SiteSearchKeywords": [], "Description": "", "Weighting": 0, "DisableForSiteSearch": false, "CreatedByMemberId": "0", "ItemCategories": [ "Main Category" ], "ItemCategoryIdList": [ 4503 ], "ItemTags": [], "Author": 0, "Author_Name": "", "Author_Url": "", "Item_Rating": 0, "DnDOrder": 13, "Text": "", "Number": 4, "Boolean": false, "DateTime": null, "CRMRecord": "0", "Multiline": "", "RadioList": "", "DataSource": [], "DropdownList": "3", "BestPairedWith": [ { "Id": 3181, "Name": "Ananas", "Url": "/food-items/ananas" } ], "Textnotes_block": "", "TypicalServingSize": "test", "HealthBenefits": "", "FoodGroup": [ "Dairy", "Fat" ], "ShowPageForSearchEngine": true, "MetaTitle": "", "SEOTitle": "", "MetaDescription": "", "CanonicalLink": "", "SocialMetaTags": "", "SeoPriority": 0.5, "EnableAMP": false, "AMPContent": "", "OpenGraphProperties": { "title": null, "type": null, "url": null, "locale": null, "image": null }, "ExternalId": 0, "Params": {} }, { "Id": 2994, "Name": "Cheese", "Url": "/food-items/cheese", "Url_List": [ "/food-items/cheese" ], "UrlSlug": "cheese", "ParentId": 2988, "ParentId_List": [ -1 ], "ParentName": "", "ParentUrl": "", "TemplateName": "", "Module_Alias": "FoodItems", "Module_ID": 2988, "Enabled": true, "ReleaseDate": "2026-05-27T00:00:00", "ExpiryDate": "9999-12-31T00:00:00", "SiteSearchKeywords": [], "Description": "A concentrated dairy product crafted by curdling and ageing milk, available in hundreds of varieties.", "Weighting": 0, "DisableForSiteSearch": false, "CreatedByMemberId": "0", "ItemCategories": [ "test" ], "ItemCategoryIdList": [ 5190 ], "ItemTags": [], "Author": 0, "Author_Name": "", "Author_Url": "", "Item_Rating": 0, "DnDOrder": 5, "Text": "", "Number": 2, "Boolean": false, "DateTime": null, "CRMRecord": "0", "Multiline": "", "RadioList": "", "DataSource": [], "DropdownList": "", "BestPairedWith": [ { "Id": 2989, "Name": "Milk", "Url": "/food-items/milk" } ], "Textnotes_block": "", "TypicalServingSize": "30 g (1 oz)", "HealthBenefits": "Concentrated source of calcium, protein, and fat-soluble vitamins A and K2. Supports bone health, provides lasting satiety, and contributes to healthy gut bacteria in aged varieties.", "FoodGroup": [ "Dairy", "Fat", "Protein" ], "ShowPageForSearchEngine": true, "MetaTitle": "", "SEOTitle": "", "MetaDescription": "", "CanonicalLink": "", "SocialMetaTags": "", "SeoPriority": 0.5, "EnableAMP": false, "AMPContent": "", "OpenGraphProperties": { "title": null, "type": null, "url": null, "locale": null, "image": null }, "ExternalId": 0, "Params": {} }, { "Id": 3393, "Name": "Cheese (Copy-1)", "Url": "/food-items/cheese-1", "Url_List": [ "/food-items/cheese-1" ], "UrlSlug": "cheese-1", "ParentId": 2988, "ParentId_List": [ -1 ], "ParentName": "", "ParentUrl": "", "TemplateName": "", "Module_Alias": "FoodItems", "Module_ID": 2988, "Enabled": true, "ReleaseDate": "2026-05-27T00:00:00", "ExpiryDate": "9999-12-31T00:00:00", "SiteSearchKeywords": [], "Description": "A concentrated dairy product crafted by curdling and ageing milk, available in hundreds of varieties.", "Weighting": 0, "DisableForSiteSearch": false, "CreatedByMemberId": "0", "ItemCategories": [ "test" ], "ItemCategoryIdList": [ 5190 ], "ItemTags": [], "Author": 0, "Author_Name": "", "Author_Url": "", "Item_Rating": 0, "DnDOrder": 6, "Text": "", "Number": 2, "Boolean": false, "DateTime": null, "CRMRecord": "0", "Multiline": "", "RadioList": "", "DataSource": [], "DropdownList": "", "BestPairedWith": [ { "Id": 2989, "Name": "Milk", "Url": "/food-items/milk" } ], "Textnotes_block": "", "TypicalServingSize": "30 g (1 oz)", "HealthBenefits": "Concentrated source of calcium, protein, and fat-soluble vitamins A and K2. Supports bone health, provides lasting satiety, and contributes to healthy gut bacteria in aged varieties.", "FoodGroup": [ "Dairy", "Fat", "Protein" ], "ShowPageForSearchEngine": true, "MetaTitle": "", "SEOTitle": "", "MetaDescription": "", "CanonicalLink": "", "SocialMetaTags": "", "SeoPriority": 0.5, "EnableAMP": false, "AMPContent": "", "OpenGraphProperties": { "title": null, "type": null, "url": null, "locale": null, "image": null }, "ExternalId": 0, "Params": {} }, { "Id": 2990, "Name": "Chicken Breast", "Url": "/food-items/chicken-breast", "Url_List": [ "/food-items/chicken-breast" ], "UrlSlug": "chicken-breast", "ParentId": 2988, "ParentId_List": [ -1 ], "ParentName": "", "ParentUrl": "", "TemplateName": "", "Module_Alias": "FoodItems", "Module_ID": 2988, "Enabled": true, "ReleaseDate": "2026-05-25T00:00:00", "ExpiryDate": "9999-12-31T00:00:00", "SiteSearchKeywords": [], "Description": "A lean, versatile white meat and one of the most popular high-protein foods worldwide.", "Weighting": 0, "DisableForSiteSearch": false, "CreatedByMemberId": "0", "ItemCategories": [], "ItemCategoryIdList": [], "ItemTags": [], "Author": 0, "Author_Name": "", "Author_Url": "", "Item_Rating": 0, "DnDOrder": 11, "Text": "rer", "Number": 12, "Boolean": false, "DateTime": "2026-06-30T11:56:00", "CRMRecord": "0", "Multiline": "", "RadioList": "", "DataSource": [], "DropdownList": "", "BestPairedWith": [ { "Id": 2991, "Name": "Brown Rice", "Url": "/food-items/brown-rice" }, { "Id": 2993, "Name": "Avocado", "Url": "/food-items/avocado" } ], "Textnotes_block": "ert", "TypicalServingSize": "85 g (3 oz) cooked", "HealthBenefits": "Excellent lean protein source supporting muscle growth and repair. Low in saturated fat and rich in B vitamins, selenium, and phosphorus for energy metabolism.", "FoodGroup": [ "Protein" ], "ShowPageForSearchEngine": true, "MetaTitle": "", "SEOTitle": "", "MetaDescription": "", "CanonicalLink": "", "SocialMetaTags": "", "SeoPriority": 0.5, "EnableAMP": false, "AMPContent": "", "OpenGraphProperties": { "title": null, "type": null, "url": null, "locale": null, "image": null }, "ExternalId": 0, "Params": {} }, { "Id": 2992, "Name": "Honey", "Url": "/food-items/honey", "Url_List": [ "/food-items/honey" ], "UrlSlug": "honey", "ParentId": 2988, "ParentId_List": [ -1 ], "ParentName": "", "ParentUrl": "", "TemplateName": "", "Module_Alias": "FoodItems", "Module_ID": 2988, "Enabled": true, "ReleaseDate": "2026-05-25T00:00:00", "ExpiryDate": "9999-12-31T00:00:00", "SiteSearchKeywords": [], "Description": "A natural sweetener produced by bees, prized for its flavour complexity and functional properties.", "Weighting": 0, "DisableForSiteSearch": false, "CreatedByMemberId": "0", "ItemCategories": [], "ItemCategoryIdList": [], "ItemTags": [], "Author": 0, "Author_Name": "", "Author_Url": "", "Item_Rating": 0, "DnDOrder": 2, "Text": "rtret", "Number": 100, "Boolean": false, "DateTime": "2026-06-30T11:58:00", "CRMRecord": "0", "Multiline": "", "RadioList": "", "DataSource": [], "DropdownList": "", "BestPairedWith": [ { "Id": 2991, "Name": "Brown Rice", "Url": "/food-items/brown-rice" } ], "Textnotes_block": "rgtert", "TypicalServingSize": "1 tablespoon (21 g)", "HealthBenefits": "Natural source of quick-release energy and antioxidants. Contains trace enzymes and antimicrobial compounds. Supports immune function and soothes the throat.", "FoodGroup": [ "Carbohydrate", "Sugar" ], "ShowPageForSearchEngine": true, "MetaTitle": "", "SEOTitle": "", "MetaDescription": "", "CanonicalLink": "", "SocialMetaTags": "", "SeoPriority": 0.5, "EnableAMP": false, "AMPContent": "", "OpenGraphProperties": { "title": null, "type": null, "url": null, "locale": null, "image": null }, "ExternalId": 0, "Params": {} }, { "Id": 2989, "Name": "Milk", "Url": "/food-items/milk", "Url_List": [ "/food-items/milk" ], "UrlSlug": "milk", "ParentId": 2988, "ParentId_List": [ -1 ], "ParentName": "", "ParentUrl": "", "TemplateName": "", "Module_Alias": "FoodItems", "Module_ID": 2988, "Enabled": true, "ReleaseDate": "2026-05-27T00:00:00", "ExpiryDate": "9999-12-31T00:00:00", "SiteSearchKeywords": [], "Description": "A nutritious whole-food dairy staple enjoyed across the globe in countless forms.", "Weighting": 0, "DisableForSiteSearch": false, "CreatedByMemberId": "0", "ItemCategories": [ "test" ], "ItemCategoryIdList": [ 5190 ], "ItemTags": [], "Author": 0, "Author_Name": "", "Author_Url": "", "Item_Rating": 0, "DnDOrder": 10, "Text": "", "Number": null, "Boolean": false, "DateTime": null, "CRMRecord": "0", "Multiline": "", "RadioList": "", "DataSource": [], "DropdownList": "", "BestPairedWith": [ { "Id": 2994, "Name": "Cheese", "Url": "/food-items/cheese" }, { "Id": 2992, "Name": "Honey", "Url": "/food-items/honey" } ], "Textnotes_block": "", "TypicalServingSize": "240 ml (1 cup)", "HealthBenefits": "Rich in calcium and vitamin D, supporting bone density and muscle function. Contains complete protein and essential electrolytes for hydration and recovery.", "FoodGroup": [ "Dairy", "Protein" ], "ShowPageForSearchEngine": true, "MetaTitle": "", "SEOTitle": "", "MetaDescription": "", "CanonicalLink": "", "SocialMetaTags": "", "SeoPriority": 0.5, "EnableAMP": false, "AMPContent": "", "OpenGraphProperties": { "title": null, "type": null, "url": null, "locale": null, "image": null }, "ExternalId": 0, "Params": {} }, { "Id": 3383, "Name": "OSE", "Url": "/food-items/ose", "Url_List": [ "/food-items/ose" ], "UrlSlug": "ose", "ParentId": 2988, "ParentId_List": [ -1 ], "ParentName": "", "ParentUrl": "", "TemplateName": "", "Module_Alias": "FoodItems", "Module_ID": 2988, "Enabled": true, "ReleaseDate": "2026-06-24T00:00:00", "ExpiryDate": "2099-12-31T00:00:00", "SiteSearchKeywords": [], "Description": "

OSE

", "Weighting": 0, "DisableForSiteSearch": false, "CreatedByMemberId": "0", "ItemCategories": [ "Main Category" ], "ItemCategoryIdList": [ 4503 ], "ItemTags": [], "Author": 0, "Author_Name": "", "Author_Url": "", "Item_Rating": 0, "DnDOrder": 4, "Text": "OSE", "Number": 23, "Boolean": true, "DateTime": "2026-06-23T14:29:00", "CRMRecord": "14381", "Multiline": "OSE", "RadioList": "errr", "DataSource": [], "DropdownList": "3", "BestPairedWith": [], "Textnotes_block": "OSE", "TypicalServingSize": "OSE", "HealthBenefits": "OSE", "FoodGroup": [ "Carbohydrate", "Fat", "Protein" ], "ShowPageForSearchEngine": true, "MetaTitle": "", "SEOTitle": "", "MetaDescription": "", "CanonicalLink": "", "SocialMetaTags": "", "SeoPriority": 0.5, "EnableAMP": false, "AMPContent": "", "OpenGraphProperties": { "title": null, "type": null, "url": null, "locale": null, "image": null }, "ExternalId": 0, "Params": {} }, { "Id": 3392, "Name": "OSE (Copy-1)", "Url": "/food-items/ose-1", "Url_List": [ "/food-items/ose-1" ], "UrlSlug": "ose-1", "ParentId": 2988, "ParentId_List": [ -1 ], "ParentName": "", "ParentUrl": "", "TemplateName": "", "Module_Alias": "FoodItems", "Module_ID": 2988, "Enabled": true, "ReleaseDate": "2026-06-24T00:00:00", "ExpiryDate": "2099-12-31T00:00:00", "SiteSearchKeywords": [], "Description": "

OSE

", "Weighting": 0, "DisableForSiteSearch": false, "CreatedByMemberId": "0", "ItemCategories": [ "Main Category" ], "ItemCategoryIdList": [ 4503 ], "ItemTags": [], "Author": 0, "Author_Name": "", "Author_Url": "", "Item_Rating": 0, "DnDOrder": 1, "Text": "OSE", "Number": 23, "Boolean": true, "DateTime": "2026-06-23T14:29:00", "CRMRecord": "14381", "Multiline": "OSE", "RadioList": "errr", "DataSource": [], "DropdownList": "3", "BestPairedWith": [], "Textnotes_block": "OSE", "TypicalServingSize": "OSE", "HealthBenefits": "OSE", "FoodGroup": [ "Carbohydrate", "Fat", "Protein" ], "ShowPageForSearchEngine": true, "MetaTitle": "", "SEOTitle": "", "MetaDescription": "", "CanonicalLink": "", "SocialMetaTags": "", "SeoPriority": 0.5, "EnableAMP": false, "AMPContent": "", "OpenGraphProperties": { "title": null, "type": null, "url": null, "locale": null, "image": null }, "ExternalId": 0, "Params": {} }, { "Id": 3309, "Name": "Sister", "Url": "/food-items/sister", "Url_List": [ "/food-items/sister" ], "UrlSlug": "sister", "ParentId": 2988, "ParentId_List": [ -1 ], "ParentName": "", "ParentUrl": "", "TemplateName": "", "Module_Alias": "FoodItems", "Module_ID": 2988, "Enabled": true, "ReleaseDate": "2026-06-23T00:00:00", "ExpiryDate": "2099-12-31T00:00:00", "SiteSearchKeywords": [], "Description": "", "Weighting": 0, "DisableForSiteSearch": false, "CreatedByMemberId": "0", "ItemCategories": [], "ItemCategoryIdList": [], "ItemTags": [], "Author": 0, "Author_Name": "", "Author_Url": "", "Item_Rating": 0, "DnDOrder": 15, "Text": "", "Number": 0, "Boolean": false, "DateTime": null, "CRMRecord": "0", "Multiline": "", "RadioList": "", "DataSource": [], "DropdownList": "", "BestPairedWith": [], "Textnotes_block": "", "TypicalServingSize": "", "HealthBenefits": "", "FoodGroup": [], "ShowPageForSearchEngine": true, "MetaTitle": "", "SEOTitle": "", "MetaDescription": "", "CanonicalLink": "", "SocialMetaTags": "", "SeoPriority": 0.5, "EnableAMP": false, "AMPContent": "", "OpenGraphProperties": { "title": null, "type": null, "url": null, "locale": null, "image": null }, "ExternalId": 0, "Params": {} } ] }

✅ Очікуваний порядок: найстаріша дата → найновіша

=============
-------------------------------------

Sister

0

-------------------------------------

Test item

0

-------------------------------------

wisdom

0

-------------------------------------

wisdom (Copy-1)

0

-------------------------------------

Cheese

2

-------------------------------------

Cheese (Copy-1)

2

-------------------------------------

Ananas (Copy-1)

4

-------------------------------------

Ananas

5

-------------------------------------

Chicken Breast

12

-------------------------------------

OSE

23

-------------------------------------

OSE (Copy-1)

23

-------------------------------------

Honey

100

-------------------------------------

test

101

-------------------------------------

Milk

============ NEW NEW
-------------------------------------

Milk

-------------------------------------

Chicken Breast

12

-------------------------------------

Honey

100

-------------------------------------

Cheese

2

-------------------------------------

test

101

-------------------------------------

Ananas

5

-------------------------------------

Ananas (Copy-1)

4

-------------------------------------

wisdom

0

-------------------------------------

Sister

0

-------------------------------------

OSE

23

-------------------------------------

OSE (Copy-1)

23

-------------------------------------

Cheese (Copy-1)

2

-------------------------------------

wisdom (Copy-1)

0

-------------------------------------

Test item

0

=============Example
-------------------------------------

Ananas

5

-------------------------------------

Ananas (Copy-1)

4

-------------------------------------

Cheese

2

-------------------------------------

Cheese (Copy-1)

2

-------------------------------------

Chicken Breast

12

-------------------------------------

Honey

100

-------------------------------------

Milk

-------------------------------------

OSE

23

-------------------------------------

OSE (Copy-1)

23

-------------------------------------

Sister

0

-------------------------------------

test

101

-------------------------------------

Test item

0

-------------------------------------

wisdom

0

-------------------------------------

wisdom (Copy-1)

0