Fix thumbnails sorting to be case insensitive