Is sorting on Text/String field no longer available in 5.x?

I thought there is no longer type "string" in 5.x? That's why I changed it to "text". So to make it work, I need to continue using string? That doesn't sound right.