Fixed bug on New sort