对于学校实验室,我必须建立一个消息的链表,然后按优先级对这些消息进行排序,“高”优先级首先被提取出来,然后是中,然后是低。几天来,我一直在尝试解决这个问题,但我不能把注意力集中在排序上。another object after it, make that object the start of the list
//and decrease the size by 1after popping an object off if there is more than 1 object after the s