Index template order fields seems not to work

I have the answer. It was the "." in the pattern. After changing to template index pattern from " filebeat-7.12.1-system-*" to "filebeat-*-system-*" It started to work properly.