pb updated for sort order