Forked from
atlas / athena
137641 commits behind, 17493 commits ahead of the upstream repository.
It is more or less standard to have objects sorted in pt, so we may as well offer that as an option. Also, sometimes it may be useful only to produce the first N objects of a type, so I added that option as well. Former-commit-id: 21b665b5a06f9aff0f56ae792bf8e4c222c09df0