Fix record pattern matching when fields are not in the same order in all patterns
type:fixed
Problem: When record fields were not in the same order in all the patterns, it leads to wrong compilation
Solution: Sort the record fields in patterns to maintain the same order in all patterns
Changelog details:
Fix record pattern matching when fields are not in the same order in all patterns
Edited by Melwyn Saldanha