added sorting in offers