anchor.diff:  			src.screen = null
   			src.active1 = null
   			src.active2 = null
  +		else if (href_list["choice"])
  +			// SORTING!
  +			if(href_list["choice"] == "Sorting")
  +				// Reverse the order if clicked twice
  +				if(sortBy == href_list["sort"])
  +					if(order == 1)
  +						order = -1
  +					else
  +						order = 1
  +				else
  +				// New sorting order!
  +					sortBy = href_list["sort"]
  +					order = initial(order)
   		else if (href_list["login"])
   			if (istype(usr, /mob/living/silicon))
   				src.active1 = null
  
positive.code: <BR><A href='?src=\ref[src];logout=1'>{Log Out}</A><BR>
  "}
  				if(2.0)
  					dat += "<B>Record List</B>:<HR>"
  					if(data_core.general)
  						for(var/datum/data/record/R in sortRecord(data_core.general))
  							dat += "<A href='?src=\ref[src];d_rec=[R.fields["id"]]'>[R.fields["id"]]: [R.fields["name"]]<BR>"
  							//Foreach goto(132)
  					dat += text("<HR><A href='?src=\ref[];screen=1'>Back</A>", src)
  				if(3.0)
  					dat += text("<B>Records Maintenance</B><HR>\n<A href='?src=\ref[];back=1'>Backup To Disk</A><BR>\n<A href='?src=\ref[];u_load=1'>Upload From Disk</A><BR>\n<A href='?src=\ref[];del_all=1'>Delete All Records</A><BR>\n<BR>\n<A href='?src=\ref[];screen=1'>Back</A>", src, src, src, src)
  
negative.code: 			dat += text("<A href='?src=\ref[];login=1'>{Log In}</A>", src)
  	//user << browse(text("<HEAD><TITLE>Medical Records</TITLE></HEAD><TT>[]</TT>", dat), "window=med_rec")
  	//onclose(user, "med_rec")
  	var/datum/browser/popup = new(user, "med_rec", "Medical Records Console", 600, 400)
  	popup.set_content(dat)
  	popup.set_title_image(user.browse_rsc_icon(src.icon, src.icon_state))
  	popup.open()
  