Implement sorting on the fetching of build details.