To draw transparent characters we need to sort our scene according to the distance of an entity from the camera using Merge Sort.