Both gabapentine and pregabalin are very good for improving the quality of sleep for me. Pregabalin is better at inducing sleep though. Phenibut is also great at improving the quality of my sleep but conversely makes it harder for me to get to sleep. Never tried baclofen. GHB in low doses is very poor at inducing sleep. In high doses is the best sleep inducer on earth. GHB negatively affects sleep quality though for me. Benzos are amazing at inducing sleep but affect sleep quality negatively. I found that ambien is slightly worse than benzos at inducing sleep, but doesn't affect sleep quality negatively. All the above mentioned drugs except benzos and ambien actually reduce the amount of sleep that I need. I have hypersomnia which means that my health is affected negatively unless I sleep 10-12 hours. GHB, phenibut, pregabalin and gabapentine reduce this to 8-10 hours.
By far the best sleep aid for me has been mirtazapine. For me mirtazapine was superior to trazodone. Seroquel is the most overrated for sleep in my experience, and in fact worsened my insomnia despite exacerbating fatigue. Mirtazapine actually made my sleep length worse though. That is the only bad thing I have to say about it.