AdminCourses component. This component is responsible for rendering a list of courses for an admin. It fetches the courses from the API, and allows the admin to sort and filter them. If the data is loading, it renders a loading spinner. If no courses are available, it renders an error message.