Adding sorting of SVs.