updated sort to be case insensitive