civicrm/civicrm-core — pull request #897 by pratik-joshi (2013-05-29 14:29:47+00:00)
Title: CRM-12684 fix: if custom data's profile field weight order is against to the order of its creation then the issue replicates

what was happening is:
the row header of the multirecord listing table was getting build according to weight order configured in profile fields settings which is correct, but the rows were getting built according to order of custom data creation.