Added another test for sorting array fields