adonis js sort by

JavaScript
await DataBase.query().orderBy('u.username','desc');
Source

Also in JavaScript: