finish sort with course number