Precalculating sort values before executing the sort in SortService.  This gives some performance benefits compared to calculating the sort value even call of the sort function.