An electronic device (101, 300) comprising: at least one communication module (190, 310); a display (160, 330); a memory (130, 340); and a processor (120, 320) operatively coupled to the communication module, the display, and the memory, the processor configured to: receive access point, AP, information from at least one AP through the communication module, generate an AP list including an AP communicatively connectable with the electronic device based on the received AP information, store the AP list in the memory, identify a state information of the electronic device, the state information including connection history information for the electronic device corresponding to the at least one AP and roaming information of the electronic device indicating whether the electronic device is in a roaming state, select an arrangement criterion based on the state information of the electronic device, the arrangement criterion being selected from a plurality of candidate arrangement criterions including a first arrangement criterion and a second arrangement criterion, the first arrangement criterion related to connection history between the electronic device and the at least one AP, and the second arrangement criterion related to first listing APs available to all users without entering a password, determine a display order of the at least one AP included in the AP list based on the selected arrangement criterion, and control the display to display the AP list based on the display order to enable a user of the electronic device to select an AP suitable for a state of the electronic device, wherein the processor is further configured to: select the second arrangement criterion when the electronic device identifies that the electronic device is in the roaming state based on the state information. at least one communication module (190, 310); a display (160, 330); a memory (130, 340); and a processor (120, 320) operatively coupled to the communication module, the display, and the memory, the processor configured to: receive access point, AP, information from at least one AP through the communication module, generate an AP list including an AP communicatively connectable with the electronic device based on the received AP information, store the AP list in the memory, identify a state information of the electronic device, the state information including connection history information for the electronic device corresponding to the at least one AP and roaming information of the electronic device indicating whether the electronic device is in a roaming state, select an arrangement criterion based on the state information of the electronic device, the arrangement criterion being selected from a plurality of candidate arrangement criterions including a first arrangement criterion and a second arrangement criterion, the first arrangement criterion related to connection history between the electronic device and the at least one AP, and the second arrangement criterion related to first listing APs available to all users without entering a password, determine a display order of the at least one AP included in the AP list based on the selected arrangement criterion, and control the display to display the AP list based on the display order to enable a user of the electronic device to select an AP suitable for a state of the electronic device, wherein the processor is further configured to: select the second arrangement criterion when the electronic device identifies that the electronic device is in the roaming state based on the state information. receive access point, AP, information from at least one AP through the communication module, generate an AP list including an AP communicatively connectable with the electronic device based on the received AP information, store the AP list in the memory, identify a state information of the electronic device, the state information including connection history information for the electronic device corresponding to the at least one AP and roaming information of the electronic device indicating whether the electronic device is in a roaming state, select an arrangement criterion based on the state information of the electronic device, the arrangement criterion being selected from a plurality of candidate arrangement criterions including a first arrangement criterion and a second arrangement criterion, the first arrangement criterion related to connection history between the electronic device and the at least one AP, and the second arrangement criterion related to first listing APs available to all users without entering a password, determine a display order of the at least one AP included in the AP list based on the selected arrangement criterion, and control the display to display the AP list based on the display order to enable a user of the electronic device to select an AP suitable for a state of the electronic device, wherein the processor is further configured to: select the second arrangement criterion when the electronic device identifies that the electronic device is in the roaming state based on the state information.