Hey there, lets think about i am defining products schema. The order of defined products in both cms ui and api returns records based on last modified date by default. However, if i am going to give access to my client, he would be very confused due to the fact that when you have hundreds of products defined, on any modification to single item, it would be moved to the top of the list. But actually, it must preserve its order and stay on the same place. When you have multiple pages of products, it would be confusing.
For this reason, we should keep track of records with an orderno field, which must be calculated on inserts, not updates. Additionally, the customer can change order of items by drag&drop mechanism. My fork does exactly the same. I also changed default sorting to the orderno, instead of last modified date.
Btw, “publish” means making angular code deployable, which was actually npm build as i found in package.json file. Now it works on server and thanks for your both efforts and help about this project.