sort for repeatability
debug