sorting for name and symbol columns