After you set the positions of products within that category, do not forget to apply changes, hitting Save button. Before checking new positions of products at the front-end, clear cache and perform reindex.
To run reindex manually in Magento 2 you need to run command via ssh. In second part of this article there is instruction on how to do this.