Answer the question
In order to leave comments, you need to log in
How to implement content sorting?
I want to implement sorting of post content. For example, it may be that the second content in a row may be created earlier than the first content - Introduction.
Of course, the first thing that comes to mind is the idea to make a sort_id field, and write numerical values there. But it seems to me that this is too primitive, since you can manually write for the second content . It is also possible that sord_id will be repeated. I don't know, I've never experienced this before. How would you implement it? sort_id=7
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question