func version
inner sort
fix
fix