running sort on selected array since keymap is sorted asc->desc