#1 sorting, fixed "object is no longer usable", hopefully