Implement playlist sorting