sort and get latest sdk instead of an arbitrary version