“cmd.sort” reorders atoms in the structure. It usually only necessary to run this routine after an “alter” command which has modified the names of atom properties. Without an argument, sort will resort all atoms in all objects.
cmd.sort(string object)
def sort(object=""):