A library for ranking collection