the call signature of the sorting function should be described