Implemented sorting transparent objects.