improve product order with new database