ThisBlock: sort function needed better case handling