Update quick sorting