Please note. The correct order is what is indicated above. The Query String comes first, followed by the Fragment.
Protocol
Username
Sub-Domain
Domain
Super-Domain
Path
File
Hash
Querystring