API EJ GetInvTypeSortOrder

Returns the sort order for an inventory type.
 sortOrder = EJ_GetInvTypeSortOrder(invType)
==Arguments==
:;invType: : Enum.InventoryType
==Returns==
:;sortOrder:
==Values==
InvType	InvTypeName 	SortOrder
18 	Index2HweaponType 	1
22 	IndexWeaponmainhandType	2
23 	IndexWeaponoffhandType 	3
14 	IndexWeaponType 	4
16 	IndexRangedType 	5
27 	IndexRangedrightType 	5
15 	IndexShieldType 	6
24 	IndexHoldableType 	7
26 	IndexThrownType 	8
29 	IndexRelicType 	9
2 	IndexHeadType 	10
3 	IndexNeckType 	11
4 	IndexShoulderType 	12
17 	IndexCloakType 	13
6 	IndexChestType 	14
21 	IndexRobeType 	14
10 	IndexWristType 	15
11 	IndexHandType 	16
7 	IndexWaistType 	17
8 	IndexLegsType 	18
9 	IndexFeetType 	19
12 	IndexFingerType 	20
13 	IndexTrinketType 	21
==Patch changes==