implemented sort by db for delivery date and lease start