Add getList() for entities, and allow multiple sorting.