Moved default products and orders sorting to entity repository class