Changed mentions of priority to ranking to reduce confusion. Added test and implementation for retrieving high priority tickets.