Added internal sorting for song chart history