sorting error messages with field names