<｜begin▁of▁sentence｜>### Instruction:
A data analyst has an edgelist file named 'social_network.edgelist', representing a social network's connections with lines like '0 1', indicating a connection between nodes '0' and '1'. The analyst wants to import this network data into Python, converting it into an adjacency matrix for further network analysis. How would the analyst use the 'graspologic.utils.import_edgelist' function to read the edgelist and ensure that the resulting vertices list is in sorted order, regardless of the order in the file?
### Response:
import graspologic

# Assuming we have an edgelist file called 'social_network.edgelist'
# The file 'social_network.edgelist' contains the following lines:
# 0 1
# 0 2
# 1 2
# 3 0

# Read the edgelist into an adjacency matrix
adjacency_matrix, vertices = graspologic.utils.import_edgelist(
    path='social_network.edgelist',
    delimiter=' ',
    nodetype=int,
    return_vertices=True
)

# Display the adjacency matrix and the list of vertices
print('Adjacency Matrix:\n', adjacency_matrix)
print('Vertices:', vertices)
<|EOT|>
