basic ascending and descending index sorting!