Snippet to sort parameter keys
1 Object.keys(params).sort().forEach(key => { 2 sortedParams[key] = params[key]; 3 });
Created on 9/4/2018