How to do Laravel Order by Relationship Field

If you are stuck for Laravel Order by Relationship Field, this post may be helpful for you to sort it out. View the code on Gist. Here, we can sort out item types.   Now, if you need to add with() method, you can apply here too. View the code on Gist.   Hope, it…

Read more...