Add sorter for text type fields.