Allow sorting for only top N entries