Deal with indeterminate ordering