Started to work on sorting methods by priority