we want to sort the resources in the UI properly