I'm using the jquery validator plugin to validate my form but need to sort the errorList array so that results are shown in a particular order. Could anyone point me in the right direction for doing this?
Thanks for the quick response. My problem is that I've got a few groups of checkboxes which use the require_from_group method. The messages returned from the checkbox groups always appear at the top of the errorList with all invalid field messages appearing below. Messages from other fields display as sorted, but the checkbox group messages keep displaying at the top of the list. I'm sorting within the invalidHandler method.