How To Sort A Vector Using Sort In Python For Strings Java