parameters are now sorted