Edit the recordset, by default every recordset sorts with the primary key you can tel it to sort by what ever field you like
$query_name = "SELECT ID, User_names, otherfields FROM Tablename ORDER BY User_names ASC";
Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.
These out-of-the-box solutions provide you proven, tested applications that can be up and running now. Build a store, a gallery, or a web-based email solution.