db: Improve the sort mechanism for the machine table
db: Improve the sort mechanism for the machine table

It's useful to include the role in the sort for logging purposes.

stevenlin598/quilt,stevenlin598/quilt,kelda/kelda,ejj/quilt-dev,stevenlin598/quilt,ejj/quilt-dev,PenguinToast/quilt,tejasmanohar/quilt,kklin/quilt,kklin/quilt,mmussomele/quilt,PenguinToast/quilt,PenguinToast/quilt,akshayknarayan/quilt,stevenlin598/quilt,NetSys/quilt,kelda/kelda,quilt/quilt,quilt/quilt,akshayknarayan/quilt,kelda/kelda,kklin/quilt,NetSys/quilt,kayousterhout/quilt,quilt/quilt,NetSys/quilt,ZhongtianWang/quilt,secant/quilt,mmussomele/quilt,kklin/kelda,PenguinToast/quilt,stevenlin598/quilt,kayousterhout/quilt,secant/quilt,ejj/quilt-dev,kklin/kelda,NetSys/quilt,mmussomele/quilt,ejj/quilt-dev,kayousterhout/quilt,stevenlin598/quilt,kklin/quilt,LuiseV/quilt,akshayknarayan/quilt,kayousterhout/quilt,mmussomele/quilt,LuiseV/quilt,ZhongtianWang/quilt,quilt/quilt,akshayknarayan/quilt,tejasmanohar/quilt,mmussomele/quilt,ZhongtianWang/quilt,kklin/kelda,kelda/kelda,secant/quilt,tejasmanohar/quilt,PenguinToast/quilt,tejasmanohar/quilt,secant/quilt,LuiseV/quilt,NetSys/quilt,ZhongtianWang/quilt,LuiseV/quilt,secant/quilt,kklin/kelda,LuiseV/quilt,mmussomele/quilt