Changed bad value in Sort