public void sendListToClients() throws UnsupportedEncodingException, IOException
	{
		sc.updateUserMap();
		ArrayList<String> clientList = new ArrayList<String>();
		int length = 4;
		for(Integer port : sc.getUserMap().keySet())
		{
			User user = sc.getUser(port);
			clientList.add(user.getName().trim());
			if(user.getName().length()<length)
				length = user.getName().length();
		}
		
		clearBytes();
		// Sorting the clientlist using Shellsort
		byteArray = Shellsort.sort(clientList, length).getBytes("UTF-8");
		sendPacket = new DatagramPacket(byteArray, byteArray.length, InetAddress.getByName("234.5.6.7"), 9998);
		// Using the ServerController to send the datagrampacket
		sc.getMulticastSocket().send(sendPacket);
	}