set priorities instead of using orderby. This allows sorting the blank attempts at the bottom