fixed longest streak sort