Virtusa interview question

what is encapsulation best sorting algorithm