How to sort objects (users) ascendingly in json array using robot framework

*** Settings ***

Documentation A script that uses the git API to fetch and print the information

Library SeleniumLibrary

Library RequestsLibrary

Library Collections

Library HttpLibrary.HTTP

Library OperatingSystem

#Resource C:/Users/Gillani Family/PycharmProjects/robotfw1/Tests/resources/anyapi

Test Teardown Close Browser

*** Variables ***

${base_url} https://api.github.com/

create session  Get_Repositories     ${base_url}             
${response_users} =    get request     Get_Repositories       /users
#log to console     ${response_users.content}
${json_users} =        evaluate    json.loads('''${response_users.content}''')    json 
${Sorted_Users} =     Sort List         ${json_users}
log to console        ${Sorted_Users}
1 Like