Efficient LLM Scheduling by Learning to Rank