The menu items are grouped by categories. Restaurant menus are usually grouped on categories like soups, appetizers, mains etc. Often we need to order these categories.
Each category has a “weight” custom field which needs an positive integer value with a minimum value of 1. The sort order is ascending, that is, category with weight=1 will be shown before a category with weight=2.