Makayla is organizing textbooks on her bookshelf. She has a Spanish textbook, a math textbook, a physics textbook, and a writing textbook. How many different ways can she line the textbooks up on her bookshelf?