Added flag for bad serialization for compatibility when using versions < php5.6.6. Fixed sorting.
Added flag for bad serialization for compatibility when using versions < php5.6.6.
Fixed sorting.

defmonk0/aws-elasticsearch-php-handler,sportarchive/aws-elasticsearch-php-handler