Sorting chart of Account

Hi Team,
I have created custom chart of accounts , after creating i done bench reinstall to enable custom chart of account .
I have 2 issues
1)During the installation setup-wizard i have chosen custom chart of account and i have selected “View Chart of Account” option, at that time both Equity, Liabilities and Assets Table came(please find the screenshot Equity&Asset.png and Equity&Asset1.png)
but when i open chart of Account Tree at that time Equity and Liabilities Table is showing but not Asset Table (Please find the screenshot Equity.png)

2)The Parent Nodes and child nodes are not sorted in sequence wise.

I solved the issues here is the solution :-
Note:- In Customize form by selecting the accounts you can sort the nodes or you can create own sorting format in json code , the sequence varies based on the number , later you can add account type either equity,assets , liability
Please find the screenshot and code and it may helpful to others also
You can validate the JSON CODE USING JSON VALIDATOR

{
“country_code”: “in”,
“name”: “Indian Chart of Accounts”,
“tree”: {
“Assets”: {
“Current Assets”: {
“(a) Current investments”: {},
“(b) Inventories”: {},
“(c) Trade receivables”: {},
“(d) Cash and cash equivalents”: {},
“(e) Short-term loans and advances”: {},
“(f) Other current assets”: {}

        },
        "root_type": "Asset",
	 "Non - Current Assets": {
	        "(a) Fixed assets": {},
		"(b) Non-current investments": {},
		"(c) Deferred tax assets (net)": {},
		"(d) Long-term loans and advances": {},
		"(e) Other non-current assets": {}
		
	    },
	    "root_type": "Asset"
    },

    "EQUITY AND LIABILITIES": {
        			"(1) Shareholders’ funds": {
			"(a) Share Capital": {
				"Equity Share Capital": {
					"account_type": "Equity"
				},
				"Preference Share Capital": {
					"account_type": "Equity"
				}
			},
			"(b) Reserves and surplus": {
				"Share Premium Account": {
					"account_type": "Equity"
				},
				"account_type": "Equity"
			},
			"(c) Money received against share warrants": {
				"account_type": "Equity"
			}

		},
		"(2) Share Application Money Pending allotment": { "account_type": "Equity" },
		"(3)Non Current Liabilities": {
			"(a) Long Term Borrowings": {
				"account_type": "Equity"
			},
			"(b) Deferred Tax": {
				"account_type": "Equity"
			},
			"(c) Other Long Term": {
				"account_type": "Equity"
			},
			"(d) Long Term Provisions": {
				"account_type": "Equity"
			}
		},
		"(4)Current Liabilities": {
			"(a) Short Term": {
				"account_type": "Equity"
			},
			"(b) Trade Payable": {
				"account_type": "Equity"
			},
			"(c) Other Current Liablities": {
				"account_type": "Equity"
			},
			"(d) Short Term Long Term": {
				"account_type": "Equity"
			}
		},
	"root_type": "Liability"
    }   
}

}