sort samples array alphabetically