I've found the answer. And the `$id` really makes a difference here. If You want to change the order of features basing on id, there is a MMQGIS plugin. Use "Modify" and "Sort" option to change the `$id` based on column chosen. Now it's working properly.