Fixed sortOnSpecifity sort order.