Sort parameters array

In other language the Dict/HashTable is un-ordered, better to sort the elements by keys.