I need to make case insensitive sort in case sensitive database. Problem is, sorting function is dynamic, so it doesn\'t know which column of which type will be sorted. I tried