new sort function; should sorrt correctly for solos,etc