Also look for isForCompensation
Sort list of elements before serialization