WIP: Implement sorting criteria for generators
So far, the only sorting criteria was cache entry. The merge request generalizes this to arbitrary sorting criteria.
TODO:
-
Refactor current behaviour to be a pluggable sorting criteria -
Use custom sorting criteria throughout the project where applicable
This fixes #131.
Edited by Dominic Kempf