Display top 5 grouped series

Is there a way to display the top N values in a grouped series?

Say I have 20 servers and I only want to see the top 5 servers with the highest CPU over the time window specified. Can that be done?