Valentin: I forgot to mention that the number of parameters is very big (> 100) and keeps growing. So manual sort is not an option :(. Posted at Nginx Forum: http://forum.nginx.org/read.php?2,253315,253323#msg-253323