How do i compare the field's values between the two records?

Example:

{
{
“Permissions”:"---------",
“Size_in_bytes”:“391344095”
},
{
“Permissions”:"---------",
“Size_in_bytes”:“1413190”
}
}