change sort order on inventory and order in dashboard