Update sort_assocs_by_value.php

added support for objects