Sort list items ascending and descending.