Remove string len sort
Fix build warnings