add 3 sort method fix #1