adds sorting to offers