server: instead of sorting paramSpecs directly, sort a separate array of maps