How do I sort the data based on the last word after hypen
data_file_hyper_v_server
data_file_linux_server
data_file_vmware_instance
data_file_win_server
Expected output
data_file_hyper_v_server
data_file_linux_server
data_file_win_server
data_file_vmware_instance
Sorry it's not hypen, it's underscore