Ripple and Inert Sort done