public static void sort_1(List<String>list, String order) {
		int[] m=new int[26];
		for (int i=0;i<order.length();++i) m[order.charAt(i)]=i;
		Collections.sort(list, (a, b)->{
			int i,j;
			for (i=j=0;i<a.length()&&j<b.length();++i,++j) 
				if (!(a.charAt(i)==b.charAt(j))) 
					return m[a.charAt(i)]-m[b.charAt(j)];
			return i-j;
		});
	}