Changed ksort to sort
Changed ksort to sort

parse_url returns a keyed array, but the query portion of it is numerically indexed and should be sorted using a sort() instead of ksort().
Replaced the alias join() with the native implode().
Thanks to @mbomb007 for pointing this out.
jamesjonesmath/canvancement,jamesjonesmath/canvancement,jamesjonesmath/canvancement,jamesjonesmath/canvancement,jamesjonesmath/canvancement